• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. EXSLT
  3. Sets (set)
  4. set:has-same-node()
  • Change language

Table of contents

  • Syntax
  • Specifications

set:has-same-node()

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

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

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Oct 11, 2021, by MDN contributors

Change your language

Related Topics

  1. Common (exsl)
    1. Common (exsl)
    2. exsl:node-set()
    3. exsl:object-type()
  2. Math (math)
    1. Math (math)
    2. math:highest()
    3. math:lowest()
    4. math:max()
    5. math:min()
  3. Regular expressions (regexp)
    1. Regular expressions (regexp)
    2. regexp:match()
    3. regexp:replace()
    4. regexp:test()
  4. Sets (set)
    1. Sets (set)
    2. set:difference()
    3. set:distinct()
    4. set:has-same-node()
    5. set:intersection()
    6. set:leading()
    7. set:trailing()
  5. Strings (str)
    1. Strings (str)
    2. str:concat()
    3. str:split()
    4. str:tokenize()
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies