Subject: Re: [xsl] 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 .
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] A Counter Variable in XSL, Michael Kay | Thread | Re: [xsl] A Counter Variable in XSL, Thomas B. Passin |
Re: [xsl] "*|@*|text()" vs. "node(), Jörg Heinicke | Date | [xsl] 3 Questions about FOP., Hewko, Doug |
Month |