Re: [xsl] Get the element to original position XSLT 1.0

Subject: Re: [xsl] Get the element to original position XSLT 1.0
From: pankaj.c@xxxxxxxxxxxxxxxxxx
Date: Mon, 31 Jan 2011 16:58:15 +0530
    <xsl:template match="comment()">
                 <xsl:variable name="commentFootnoteId"
select="substring-before(substring-after(., '&quot;'), '&quot;')" />
                 <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

Current Thread