Subject: Re: [xsl] minor grouping issue From: Bruce D'Arcus <bdarcus@xxxxxxxxx> Date: Sat, 7 May 2005 08:25:10 -0400 |
I don't know why each group contains all the notes for the entire book, but
I suspect it's an error in the template that gets invoked by the
apply-templates call that you've shown us.
<xsl:for-each select="$chapters/db:chapter"> <h3>Chapter <xsl:value-of select="@label"/></h3> <xsl:apply-templates select="//db:footnote" mode="footnote-list"/> </xsl:for-each>
<xsl:template match="db:footnote" mode="footnote-list"> <xsl:variable name="incr"> <xsl:number level="any" count="db:footnote"/> </xsl:variable> <p id="fn{$incr}"> <a href="#fnm{$incr}" class="footnote-anchor"> <xsl:value-of select="$incr"/> </a> <xsl:text>.  </xsl:text> <xsl:apply-templates/> </p> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] minor grouping issue, Bruce D'Arcus | Thread | RE: [xsl] minor grouping issue, Michael Kay |
Re: [xsl] Building Dynamic Urls, George Cristian Bina | Date | [xsl] XSLT CSS Style -> CSS Element, Alex Neblett |
Month |