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(., '"'), '"')" /> <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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Get the element to origin, Mukul Gandhi | Thread | [xsl] Grouping lists from flat to n, Stefanie Haupt |
Re: [xsl] Get the element to origin, Mukul Gandhi | Date | [xsl] Grouping lists from flat to n, Stefanie Haupt |
Month |