RE: [xsl] numbering

Subject: RE: [xsl] numbering
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 25 Aug 2004 00:24:15 +0100
Use <xsl:number format="1.- "/>

Michael Kay

> -----Original Message-----
> From: Dionisio Ruiz de Zarate [mailto:dionisio@xxxxxxxxxxxxx]
> Sent: 24 August 2004 23:34
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] numbering
>
> hello
> i load the data from one xml file for showing into onw html page with:
> <xsl:for-each select="node">
> <xsl:value-of select="nodename"/>
> </xsl:for-each>
>
> but i want to show the data with one number:
> 1.- text
> 2.- text
> 3.- text
>
> how can i put this number for each nodename (<xsl:value-of
> select="nodename"/>)
>
> can anybody helps me?
> thanks

Current Thread