Subject: Re: A Counter Variable in XSLT?
From: Manu KY <manu_kry@xxxxxxxxx>
Date: Fri, 05 Oct 2001 19:28:45 +0530
|
Hi,
You cannot change the values of variables in XSLT .
Manu
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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|