[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Get the element to original position XSLT 1.0
<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|