has-same-node


set:has-same-node() determines whether two node-sets have any nodes in common.

Syntax

set:has-same-node(nodeSet1, nodeSet2)

Arguments

nodeSet1
The first node set to check.
nodeSet2
The second node set to check.

Returns

true if the two node-sets have any nodes in common; otherwise false.

Defined

EXSLT - SET:HAS-SAME-NODE

Gecko support

Supported in Gecko 1.9 and later.

Document Tags and Contributors

 Contributors to this page: Sheppy, Mgjbot, Fredchat
 Last updated by: Sheppy,