[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each-group and identity transform
I'm now using: <h> <xsl:copy-of select="./node()"/> </h> instead of: <h> <xsl:copy-of select="descendant::node()"/> </h> But this (my) template works: <xsl:template match="element()|comment()|processing-instruction()" mode="group"> <xsl:copy-of select="current-group()"/> </xsl:template> Your proposal: <xsl:template match="node()" mode="group"> <xsl:copy> <xsl:copy-of select="@* except @the-attributes-you dont-want"/> <xsl:apply-templates mode="group"/> </xsl:copy> </xsl:template> I guess is never going to work, we need "current-group()". I simply can't see how we can get the modified identity template into play. Cheers, Jesper
|
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
|