Loading TOC...

MarkLogic Server 11.0 Product Documentation
Node functions

The table below lists all the Node built-in functions (in this namespace: Node).

Node is a subtype of Value.

A node.
7 functions
Function name Description
Node.baseURI Returns a string representing the base URI of the node.
Node.nodeKind Return a string indicating the type of the node.
Node.nodeType Return the DOM code indicating the type of the node.
Node.toObject This is inherited from the Value object. Return a JavaScript object value.
Node.toString This is inherited from the Value object. The atomic value of the object (for example, of the Node).
Node.valueOf This is inherited from the Value object. The atomic value of the object (for example, of the Node).
Node.xpath Evaluate an XPath using the node as context.