Loading TOC...

MarkLogic Server 11.0 Product Documentation
XMLDocument functions

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

You can also view these functions broken down by category:

XMLDocument is a subtype of Document and XMLNode.

A document node that is known to be in an XML document. This is used in the DOM API, which only works with XML nodes.
24 functions
Function name Description
XMLDocument.attributes This is inherited from the XMLNode object. The attributes of this node.
XMLDocument.childNodes This is inherited from the XMLNode object. The children of this node.
XMLDocument.documentFormat This is inherited from the Document object. The format of the document node, "JSON", "XML", "TEXT", or "BINARY".
XMLDocument.documentURI The URI of this document.
XMLDocument.firstChild This is inherited from the XMLNode object. The first child of this node, if any.
XMLDocument.getElementById Get the element in this document with the given id, if any.
XMLDocument.getElementsByTagName Return all the elements in the document with the given name.
XMLDocument.getElementsByTagNameNS Return all the elements in the document with the given localname and namespace URI.
XMLDocument.hasAttributes This is inherited from the XMLNode object. Whether this node has attributes.
XMLDocument.hasChildNodes This is inherited from the XMLNode object. Whether this node has any children.
XMLDocument.isEqualNode This is inherited from the XMLNode object. Whether this node is equal to another node.
XMLDocument.isSameNode This is inherited from the XMLNode object. Whether this node is the same exact node as another node.
XMLDocument.lastChild This is inherited from the XMLNode object. The last child of this node, if any.
XMLDocument.localName This is inherited from the XMLNode object. Return the local name of this node.
XMLDocument.namespaceURI This is inherited from the XMLNode object. Return the namespace URI of this node.
XMLDocument.nextSibling This is inherited from the XMLNode object. The node that is the immediately following sibling of this node, if any.
XMLDocument.nodeName This is inherited from the XMLNode object. The DOM name of the node.
XMLDocument.nodeValue This is inherited from the XMLNode object. The DOM value of the node.
XMLDocument.ownerDocument This is inherited from the XMLNode object. The document node containing this node, if any.
XMLDocument.parentNode This is inherited from the XMLNode object. The node that is this node's parent.
XMLDocument.prefix This is inherited from the XMLNode object. Return the namespace prefix of this node.
XMLDocument.previousSibling This is inherited from the XMLNode object. The node that is the immediately preceding sibling of this node, if any.
XMLDocument.root This is inherited from the Document object. The root node of the document.
XMLDocument.textContent This is inherited from the XMLNode object. The DOM text value of the node.