Loading TOC...

XMLNode.isEqualNode

XMLNode.isEqualNode(
   $node as Node
) as Boolean

Summary

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)

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.