Node Set Functions

The XPath editor context menu contains count, local name, namespace-uri, and name 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 as written in the original XML source document.
Related concepts
XPath Editor

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.