MarkLogic Server 11.0 Product Documentation
Attr.hasAttributesAttr.hasAttributes() as String
Summary
This is inherited from the XMLNode object.
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.