[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: maths operations with xslt

Subject: Re: maths operations with xslt
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 23 Oct 2001 22:53:03 +0200
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.