Compartilhar via


node-set Function (Windows CE 5.0)

Send Feedback

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

XSLT Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.