Node Set Functions

Right-click in the XPath editor to select node set functions used in expressions.

Table 1. Node set functions
Name Description
count Takes a node-set as its parameter and returns the number of nodes present in the node-set.
local name Returns the local part of the name of a node, that is, the part of the name after the colon if there is one, or the full name otherwise.
namespace uri Returns a string that represents the URI of the namespace in the expanded name of a node. Typically, this is a URI used in a namespace declaration, that is, the value of an xmins or xmins:* attribute.
name Returns a QName that represents the name of a node. Typically, this is the name of the node in the original XML source document.
Related concepts
XPath Editor

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com