Hi,
Have you take a look to xsl:number [1] ?
Xmlizer
[1] http://www.w3.org/TR/xslt#number
On 5/2/07, Senthilkumaravelan K <skumaravelan(_at_)googlemail(_dot_)com> wrote:
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>
--~--
--~------------------------------------------------------------------
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>
--~--