다음을 통해 공유


node-set Function (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

msxsl:node-set(string)

Parameters

  • string
    Specifies a node tree.

Return Value

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)">

See Also

Reference

XSLT Functions