XSLT node-set() Function
Definition and Usage
Enables you to convert the tree to a node set. The generated node set always contains a single node and is the root node of the tree.
For earlier versions of Microsoft XML Core Services (MSXML), expressions such as <xsl:for-each select="$var/el"> can be used, where var is the XSLT variable bound to the result tree. However, this method is not applicable to MSXML version 3.0 and higher. To achieve the same result in these higher versions of MSXML, 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)