xsl-list
[Top] [All Lists]

Re: numbering

2004-08-24 16:28:45
Something like :
    <xsl:number count="node"/><xsl:value-of select="nodename"/>
Here is a resource where you can read more:
http://www.w3schools.com/xsl/el_number.asp

Hope that helps,
Josh

On Wed, 25 Aug 2004 00:33:52 +0200, Dionisio Ruiz de Zárate
<dionisio(_at_)tinieblas(_dot_)com> wrote:
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

--+------------------------------------------------------------------
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>