xsl-list
[Top] [All Lists]

Re: Numbering non-contiguous nodes

2003-12-04 05:36:23
On 3 Dec 2003 at 18:43, Wendell Piez wrote:

I suggest the XSLT instruction <xsl:number/>

<xsl:template match="gap">
   <xsl:text>[_</xsl:text>
   <xsl:number level="any"/>
   <xsl:text>_]</xsl:text>
</xsl:template>

Another solution that had not occurred to me because of my obsession 
with incrementing variables. Thanks for tolerating my idiotic 
question and not telling me to go take "remedial XSLT".

Erik

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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