MarkLogic 10 Product Documentation
CharacterData.hasAttributesCharacterData.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.