Back to Content

set:has-same-node()

files/en-us/web/xml/exslt/reference/set/has-same-node/index.md

latest461 B
Original Source

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

Syntax

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

Parameters

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

Return value

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

Specifications

EXSLT - SET:HAS-SAME-NODE