Node-Set Functions

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XPath Reference

Node-Set Functions

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

Node-Set Functions

count Returns the number of nodes in the node-set argument.
id Selects elements by their unique ID.
last Returns a number equal to context size of the expression evaluation context.
local-name Returns the local part of the expanded name of the node in the node-set argument that is first in document order.
name Returns a string containing a QName representing the expanded name of the node in the node-set argument that is first in document order.
namespace-uri Returns the namespace Uniform Resource Identifier (URI) of the expanded name of the node in the node-set argument that is first in document order.
position Returns the index number of the node within the parent.

See Also

Processing Node-Sets by Using Node-Set Functions | Qualified Names