Loading TOC...

MarkLogic Server 11.0 Product Documentation
Document functions

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

Document is a subtype of Node.

A document node.
6 functions
Function name Description
Document.baseURI This is inherited from the Node object. Returns a string representing the base URI of the node.
Document.documentFormat The format of the document node, "JSON", "XML", "TEXT", or "BINARY"
Document.nodeKind This is inherited from the Node object. Return a string indicating the type of the node.
Document.nodeType This is inherited from the Node object. Return the DOM code indicating the type of the node.
Document.root The root node of the document.
Document.xpath This is inherited from the Node object. Evaluate an XPath using the node as context.