xsl-list
[Top] [All Lists]

Re: [xsl] Converting SSI variables to XML

2006-09-11 08:39:51

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>