So you want to group the Xmltype elements by the lob/@NAME attribute, right?
Do you want to use XSLT 1.0 or 2.0?
With XSLT 1.0 you can use the Muenchian grouping approach, with XSLT 2.0 you can simply use xsl:for-each-group select="Xmltype" group-by="lob/@NAME".
|