[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] A Counter Variable in XSLT?
Greetings, I want to create a "counter variable" - one that I can increment within a stylesheet. Something like: <xsl:variable name="matchNumber" select="'0'"/> (and later...) <xsl:value-of select="$matchNumber++"/> I know $matchNumber++ won't work, but is there anyway to do this in XSLT, or do I have to use an extension? (I am currently using Xalan) Thank you, Grant Mc Auley XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|