set:has-same-node

Returns true if the node set passed as the first argument shares any nodes with the node set passed as the second argument. If there are no nodes that are in both node sets, then it returns false.

has-same-node($nodes1 as item()*, $nodes2 as item()*) ➔ boolean

Arguments

 

$nodes1

item()*

First node set

 

$nodes2

item()*

Second node set

Result

boolean

Namespace

http://exslt.org/sets

Links to specifications

EXSLT Sets Module

Saxon availability

Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).