Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/exslt/set/has-same-node/index.md
6524 views
---
title: set:has-same-node() slug: Web/EXSLT/set/has-same-node
---

{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}

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