This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: maths operations with xslt


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]