MarkLogic Server 11.0 Product Documentation
Attr.isEqualNode

Attr.isEqualNode(
   node as Node
) as Boolean

Summary

This is inherited from the XMLNode object.

Whether this node is equal to another node.

Parameters
node The node to compare this node to.

Example

cts.doc("example.xml").firstChild.isEqualNode(
  cts.doc("example2.xml").firstChild)
Powered by MarkLogic Server | Terms of Use | Privacy Policy