xsl-list
[Top] [All Lists]

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

2011-01-31 05:28:25
    <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

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