Loading TOC...

XMLNode.hasAttributes

XMLNode.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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments