MarkLogic 9 Product Documentation
XMLNode.hasAttributesXMLNode.hasAttributes() as String
Summary
Whether this node has attributes.
Usage Notes
This property is false for non-element nodes.
Example
cts.doc("example.xml").firstChild.hasAttributes
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.