this root should be stored in some variable or element
and then can I use it like following the
<xsl:for-each select="$outerString/resultNode">
<xsl:sort select=".">
|@name
</xsl:for-each>
Subject:CAN i CREATE INTERMEDIATE XML TREE AND USE IT IN SAME XSL Author:Tony Lavinio Date:24 Jul 2006 11:52 AM
In XSLT 1 there is no standard way; search the web for node-set
extensions that will convert result tree fragments to node sets.
In XSLT 2 you can return sequences, including elements with nested
elements.