xsl-list
[Top] [All Lists]

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

2008-07-29 07:43:04
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/

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>