HTML: Markup language
CSS: Styling language
JavaScript: Scripting language
Web APIs: Programming interfaces
All web technology
Learn web development
Discover our tools
Get to know MDN better
set:has-same-node() determines whether two node-sets have any nodes in common.
set:has-same-node()
set:has-same-node(nodeSet1, nodeSet2)
nodeSet1
The first node set to check.
nodeSet2
The second node set to check.
true if the two node-sets have any nodes in common; otherwise false.
true
false
EXSLT - SET:HAS-SAME-NODE