Node-set functions take a node-set argument. They return a node-set, or information about a particular node within a node-set.
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. |
Processing Node-Sets by Using Node-Set Functions | Qualified Names