I wrote:
<xsl:template match="document">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
<xsl:apply-templates select="//note" mode="notes"/>
</xsl:template>
you have:
<xsl:template match="document">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
<xsl:apply-templates select="//note[not(@type='margin' or
@type='sourcenote')]" mode="notes"/>
</xsl:copy>
</xsl:template>
The apply-templates for notes has moved back inside xsl:copy - it
needs to be outside for the <note>'s to be output after <document>.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
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>
--~--