Loading TOC...

MarkLogic Server 11.0 Product Documentation
Attr functions

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

Attr is a subtype of XMLNode.

An XML attribute node.
21 functions
Function name Description
Attr.attributes This is inherited from the XMLNode object. The attributes of this node.
Attr.childNodes This is inherited from the XMLNode object. The children of this node.
Attr.firstChild This is inherited from the XMLNode object. The first child of this node, if any.
Attr.hasAttributes This is inherited from the XMLNode object. Whether this node has attributes.
Attr.hasChildNodes This is inherited from the XMLNode object. Whether this node has any children.
Attr.isEqualNode This is inherited from the XMLNode object. Whether this node is equal to another node.
Attr.isId Whether this is an ID attribute.
Attr.isSameNode This is inherited from the XMLNode object. Whether this node is the same exact node as another node.
Attr.isSpecified Whether this attribute is specified explicitly or was defaulted from a schema.
Attr.lastChild This is inherited from the XMLNode object. The last child of this node, if any.
Attr.localName This is inherited from the XMLNode object. Return the local name of this node.
Attr.namespaceURI This is inherited from the XMLNode object. Return the namespace URI of this node.
Attr.nextSibling This is inherited from the XMLNode object. The node that is the immediately following sibling of this node, if any.
Attr.nodeName This is inherited from the XMLNode object. The DOM name of the node.
Attr.nodeValue This is inherited from the XMLNode object. The DOM value of the node.
Attr.ownerDocument This is inherited from the XMLNode object. The document node containing this node, if any.
Attr.ownerElement The element that contains this attribute.
Attr.parentNode This is inherited from the XMLNode object. The node that is this node's parent.
Attr.prefix This is inherited from the XMLNode object. Return the namespace prefix of this node.
Attr.previousSibling This is inherited from the XMLNode object. The node that is the immediately preceding sibling of this node, if any.
Attr.textContent This is inherited from the XMLNode object. The DOM text value of the node.