Re: [xsl] Converting SSI variables to XML

Subject: Re: [xsl] Converting SSI variables to XML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Sep 2006 16:39:27 +0100
something like this as a 2nd pass should work I think

<xsl:for-each-group select="var" group-by="replace(@name,'.*\.([^\.]*)\.[^\.]*$','$1')">
 <group num="{current-grouping-key()}">
   <xsl:copy-of select="current-group()"/>
 </group>
</xsl:for-each-group>

David

Current Thread