XSLT node-set() Function
Definition and Usage
It allows you to convert a tree into a node set. The resulting node set always contains a single node and is the root node of the tree.
For earlier versions of Microsoft XML Core Services (MSXML), you can use expressions like <xsl:for-each select="$var/el">, where var is an XSLT variable bound to the result tree. However, this method is not applicable to MSXML versions 3.0 and above. To achieve the same result in these higher versions of MSXML, please use the node-set function, as shown in the following code example.
<xsl:for-each select="msxsl:node-set($var)/el)">
Syntax
msxsl:node-set(string)