OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] How to declare a int variable in XSL

[ Lists Home | Date Index | Thread Index ]

 

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS