node-set Function
Enables you to convert a tree into a node set. The resulting node always contains a single node and the root node of the tree.
msxsl:node-set(string)
Parameters
- string
Specifies a node tree.
Return Values
Enables you to convert a tree into a node set. The resulting node always contains a single node and the root node of the tree.
Remarks
With earlier versions of the Microsoft® XML Parser (MSXML), it was possible to use expressions such as <xsl:for-each select="$var/el">, where var is an XSL Transformations (XSLT) variable bound to a result tree. However, this approach does not work with MSXML 3.0. To achieve the same results, use the node-set function, as shown in the following code sample.
<xsl:for-each select="msxsl:node-set($var/el)">
Requirements
None.
See Also
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.