set:intersection

Returns a node set comprising the nodes that are within both the node sets passed as arguments to it.

intersection($nodes1 as item()*, $nodes2 as item()*) ➔ item()*

Arguments

 

$nodes1

item()*

First node set

 

$nodes2

item()*

Second node set

Result

item()*

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).