Tests whether two sequences contain the same nodes.
has-same-nodes($arg1 as node()*, $arg2 as node()*) ➔ xs:boolean
The first sequence
The second sequence
This function returns a boolean that is true if and only if $nodes-1 and $nodes-2 contain the same
sequence of nodes in the same order. Nodes are compared by identity, not by content.
Note this is quite different from both the "=" operator, which tests
whether there is a pair of nodes with the same string-value, and also the
deep-equal() function, which compares
nodes pairwise but by content.