Loading TOC...

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 nameDescription
XMLDocument.attributesThis is inherited from the XMLNode object. The attributes of this node.
XMLDocument.childNodesThis is inherited from the XMLNode object. The children of this node.
XMLDocument.documentFormatThis is inherited from the Document object. The format of the document node, "JSON", "XML", "TEXT", or "BINARY".
XMLDocument.documentURIThe URI of this document.
XMLDocument.firstChildThis is inherited from the XMLNode object. The first child of this node, if any.
XMLDocument.getElementByIdGet the element in this document with the given id, if any.
XMLDocument.getElementsByTagNameReturn all the elements in the document with the given name.
XMLDocument.getElementsByTagNameNSReturn all the elements in the document with the given localname and namespace URI.
XMLDocument.hasAttributesThis is inherited from the XMLNode object. Whether this node has attributes.
XMLDocument.hasChildNodesThis is inherited from the XMLNode object. Whether this node has any children.
XMLDocument.isEqualNodeThis is inherited from the XMLNode object. Whether this node is equal to another node.
XMLDocument.isSameNodeThis is inherited from the XMLNode object. Whether this node is the same exact node as another node.
XMLDocument.lastChildThis is inherited from the XMLNode object. The last child of this node, if any.
XMLDocument.localNameThis is inherited from the XMLNode object. Return the local name of this node.
XMLDocument.namespaceURIThis is inherited from the XMLNode object. Return the namespace URI of this node.
XMLDocument.nextSiblingThis is inherited from the XMLNode object. The node that is the immediately following sibling of this node, if any.
XMLDocument.nodeNameThis is inherited from the XMLNode object. The DOM name of the node.
XMLDocument.nodeValueThis is inherited from the XMLNode object. The DOM value of the node.
XMLDocument.ownerDocumentThis is inherited from the XMLNode object. The document node containing this node, if any.
XMLDocument.parentNodeThis is inherited from the XMLNode object. The node that is this node's parent.
XMLDocument.prefixThis is inherited from the XMLNode object. Return the namespace prefix of this node.
XMLDocument.previousSiblingThis is inherited from the XMLNode object. The node that is the immediately preceding sibling of this node, if any.
XMLDocument.rootThis is inherited from the Document object. The root node of the document.
XMLDocument.textContentThis is inherited from the XMLNode object. The DOM text value of the node.
Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy