Re: [xsl] Re: xsl-list Digest 29 Jul 2008 05:10:01 -0000 Issue 1572

Subject: Re: [xsl] Re: xsl-list Digest 29 Jul 2008 05:10:01 -0000 Issue 1572
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 29 Jul 2008 16:42:35 +0200
Brent Solly wrote:

<xsl:for-each select="//category[generate-id() = generate-id(key('cat_name',.)[1])]">
  <xsl:value-of select="." /><br/>
    <xsl:for-each select="key('cat_name',.)">
       <a href="#{generate-id()}">

Try <a href="#{generate-id(parent::item)}"> here to fix the anchor problem you describe below.

But, now the anchor links are broken. When I click on a hyperlink, the output of the <title> element, it should take me down to the corresponding title and description.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread