saxon:has-same-nodes($nodes-1 as node()*, $nodes-2 as node()*) ==> xs:boolean
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 the "=" operator, which tests whether there is a pair of nodes with the same string-value, and the deep-equal() function, which compares nodes pairwise but by content.