[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] maths operations with xslt


Subject: Re: [xsl] maths operations with xslt
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 23 Oct 2001 22:53:03 +0200

> <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



Current Thread