[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Use <xsl:number level="any" /> instead..
By the way, you can put it in the element directly, you do not need to put it in a variable first..
Re: [xsl] Position() on template matches
Subject: Re: [xsl] Position() on template matches From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Wed, 26 Oct 2005 09:38:05 +0200 |
<xsl:template match="output/tester"> <xsl:variable name="pos"><xsl:number/></xsl:variable> <xsl:element name="myOut"><xsl:value-of select="$pos"/></xsl:element> </xsl:template>
Use <xsl:number level="any" /> instead..
By the way, you can put it in the element directly, you do not need to put it in a variable first..
Cheers, Geert
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Position() on template matche, Kevin L. Cobb | Thread | RE: [xsl] Position() on template ma, Kevin L. Cobb |
Re: [xsl] transforming from xml to , UlyLee | Date | [xsl] Reporting line numbers, Dunn, Mark |
Month |