A module for determining differences between XML documents and nodes.
xmldiff:compare($node-set-1 as node()*, $node-set-2 as node()*) as xs:boolean
Compares two nodes sets to determine their equivalence.Equivalence is determined in 3 stages, first by sequence length, then equivalent Node types, and finally by XMLUnit Diff.
$node-set-1* | The first node set. |
$node-set-2* | The second node set. |
xmldiff:diff($node-set-1 as node()*, $node-set-2 as node()*) as map(*)
Reports on the differences between two nodes sets to determine their equality.Equality is determined in 3 stages, first by sequence length, then equivalent Node types, and finally by XMLUnit Diff for Document and Element nodes, or fn:deep-equals for all other node types.
$node-set-1* | The first node set. |
$node-set-2* | The second node set. |