[Home] [By Thread] [By Date] [Recent Entries]


 

> Not with xsl:for-each, though.  Position() would always be 1.

Yes, with for-each. position() reflects the position in the node list
constructed by the select expression in <xsl:for-each.
Position() is only always 1 if you are iterating over a list of length
1.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member