XQuery Function Documentation

Search and Browse

http://exist-db.org/xquery/xmldiff

java:org.exist.xquery.modules.xmldiff.XmlDiffModule

A module for determining differences in XML documents.

xmldiff:compare

xmldiff:compare($node-set-1 as node()*, $node-set-2 as node()*) as xs:boolean?

Returns true() if the two node sets $node-set-1 and $node-set-2 are equal, otherwise false()

Parameters:
$node-set-1* the first node set
$node-set-2* the second node set
Returns:
xs:boolean? : true() if the two node sets $node-set-1 and $node-set-2 are equal, otherwise false()