set:has-same-node()

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

Syntax

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

Parameters

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.

Specifications

EXSLT - SET:HAS-SAME-NODE

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
set:has-same-node()Chrome ? Edge ? Firefox Full support 3IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown