Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Function Description

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.