[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Using COUNT to create unique anchors
> 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
|