RE: [xsl] Using COUNT to create unique anchors

Subject: RE: [xsl] Using COUNT to create unique anchors
From: "Austin, Darrel" <Darrel.Austin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Nov 2006 11:02:08 -0600
> On your Table of contents it looks like you want something like
>
> <xsl:variable name="id">
>   <xsl:number level="multiple"/>
> </xsl:variable>
> <li> <a href="#id{$id}">
>  <xsl:value-of select="$id" />: <xsl:value-of select="title" />
>   </a></li>

Right, but I'm not actually storing a unique ID in each node within the
XML itself. Perhaps I should? ;o)

-Darrel

Current Thread