[xsl] Re: Numbering non-contiguous nodes

Subject: [xsl] Re: Numbering non-contiguous nodes
From: yguaba@xxxxxxxxxxxx
Date: Thu, 04 Dec 2003 10:36:23 -0200
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


Current Thread