This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: maths operations with xslt
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] maths operations with xslt
- From: Jörg Heinicke <joerg dot heinicke at gmx dot de>
- Date: Tue, 23 Oct 2001 22:53:03 +0200
- References: <25946EEA266C0F43A6B0B7B1A2558C4852CAC6@mail.framkom.se>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <xsl:value-of select="//Population_infos/Population_info[0]/Population"/>
> (this data is well seen in the display)
Are you sure, that you can see this? In my eyes you will see nothing too,
because of "Population_info[0]". This means the 0th Population_info, so
position()=0. But there is no node with position()=0, position() starts
counting with 1!!
So changing your stylesheet to 1 and 2 instead of 0 and 1 you will get your
output I think.
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list