次の方法で共有


XPath Node-Set Functions (Windows Embedded CE 6.0)

1/6/2010

Node-Set functions take a node-set argument, return a node set, or return/provide information about a particular node within a node set.

The following table shows the Node-Set functions implemented by XPath.

Function Description

count Function

Returns the number of nodes in the node-set argument.

document Function

Provides a way to retrieve other XML resources from within the XSL Transformations (XSLT) style sheet beyond the initial data provided by the input stream.

id Function

Selects elements by their unique ID.

key Function

Retrieves elements previously marked with an xsl:key statement.

last Function

Returns a number equal to context size of the expression evaluation context.

local-name Function

Returns the local part of the expanded name of the node in the node-set argument that is first in document order.

name Function

Returns a string containing a Qualified Names representing the expanded name of the node in the node-set argument that is first in document order.

namespace-uri Function

Returns the name space Uniform Resource Identifier (URI) of the expanded name of the node in the node-set argument that is first in document order.

position Function

Returns the index number of the node within the parent.

See Also

Reference

XPath Functions