MarkLogic 10 Product Documentation
ProcessingInstruction.hasAttributes

ProcessingInstruction.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
Powered by MarkLogic Server | Terms of Use | Privacy Policy