Subject: RE: Variables
From: Bedwell Tom <Tom.Bedwell@xxxxxxx>
Date: Thu, 12 Jul 2001 17:00:46 +0100
|
<xsl:variable name="temp">
<xsl:value-of select="1"/>
</xsl:variable>
How would I go about incrementing the above variable in a for-each tag
??
Try something like this
<xsl:for-each select="something">
<xsl:variable name="temp" select="position()"/>
<xsl:comment>
<xsl:value-of select="$temp"/>
</xsl:comment>
</xsl:for-each>
Tom
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: Variables
- FINLEY, Mike - Thu, 12 Jul 2001 10:46:54 -0400 (EDT)
- <Possible follow-ups>
- Bedwell Tom - Thu, 12 Jul 2001 12:01:12 -0400 (EDT) <=
|
|