[Home] [By Thread] [By Date] [Recent Entries]
Jesper Tverskov wrote:
Try <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="*">
<xsl:param name="group" select="*"/>
<xsl:copy>
<xsl:for-each-group select="$group" group-by="node-name(.)">
<xsl:apply-templates select=".">
<xsl:with-param name="group" select="current-group()/*"/>
</xsl:apply-templates>
</xsl:for-each-group>
</xsl:copy>
</xsl:template></xsl:stylesheet> although I am not sure I have understood completely what you want to achieve. -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
|

Cart



