xsl-list
[Top] [All Lists]

[xsl] Counter variable

2007-05-01 23:08:15
Hi ,
I would like to know is there any way I can do auto number generation in XSLT.
Am currently using postion () for displayin the numbers..


<xsl:for-each select="//ITEM">
<xsl:value-of select="position()" />  <xsl:value-of select="ITEM_DESC" /><br/>
</xsl:for-each>

Regards,
Senthil

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>