<xsl:template match="comment()">
<xsl:variable name="commentFootnoteId"
select="substring-before(substring-after(., '"'), '"')" />
<xsl:copy-of select="/chapter/footnote[@id =
$commentFootnoteId]" />
</xsl:template>
Perfect. I started using keys but this one seems to be more clean.
Thanks Mukul.
Best,
Pankaj
--~------------------------------------------------------------------
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>
--~--