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-setargument.

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-setargument 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

Concepts

Qualified Names