MarkLogic 10 Product Documentation
XMLNode functions

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

XMLNode is a subtype of Node.

Some kind of XML node, such as an element or attribute.
22 functions
Function name Description
XMLNode.attributes The attributes of this node.
XMLNode.baseURI This is inherited from the Node object. Returns a string representing the base URI of the node.
XMLNode.childNodes The children of this node.
XMLNode.firstChild The first child of this node, if any.
XMLNode.hasAttributes Whether this node has attributes.
XMLNode.hasChildNodes Whether this node has any children.
XMLNode.isEqualNode Whether this node is equal to another node.
XMLNode.isSameNode Whether this node is the same exact node as another node.
XMLNode.lastChild The last child of this node, if any.
XMLNode.localName Return the local name of this node.
XMLNode.namespaceURI Return the namespace URI of this node.
XMLNode.nextSibling The node that is the immediately following sibling of this node, if any.
XMLNode.nodeKind This is inherited from the Node object. Return a string indicating the type of the node.
XMLNode.nodeName The DOM name of the node.
XMLNode.nodeType This is inherited from the Node object. Return the DOM code indicating the type of the node.
XMLNode.nodeValue The DOM value of the node.
XMLNode.ownerDocument The document node containing this node, if any.
XMLNode.parentNode The node that is this node's parent.
XMLNode.prefix Return the namespace prefix of this node.
XMLNode.previousSibling The node that is the immediately preceding sibling of this node, if any.
XMLNode.textContent The DOM text value of the node.
XMLNode.xpath This is inherited from the Node object. Evaluate an XPath using the node as context.
Powered by MarkLogic Server | Terms of Use | Privacy Policy