MarkLogic Server 11.0 Product Documentation
XMLNode.attributes

XMLNode.attributes as NamedNodeMap

Summary

The attributes of this node.

Usage Notes

Returns null for non-element nodes.

Example

cts.doc("example.xml").documentElement.
  attributes.getNamedItem("class")
Powered by MarkLogic Server | Terms of Use | Privacy Policy