xsl-list
[Top] [All Lists]

RE: [xsl] Using COUNT to create unique anchors

2006-11-27 10:02:24
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--