• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • 参考手册
    • 概述 / Web 技术

      适用于开发者的 Web 技术参考手册

    • HTML

      Web 内容的结构

    • CSS

      用于描述文档样式的代码

    • JavaScript

      通用脚本语言

  • 开发指南
    • 概述 / MDN 学习区

      学习 Web 开发

    • MDN 学习区

      学习 Web 开发

    • HTML

      学习使用 HTML 构建 Web 内容

    • CSS

      学习使用 CSS 设置内容样式

    • JavaScript

      学习在浏览器中运行脚本

  • 更多中文网
  1. 面向开发者的 Web 技术
  2. EXSLT
  3. Sets (set)
  4. set:has-same-node()

目录

  • Syntax
  • Specifications
  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()

目录

  • 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.

Return value

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

Specifications

EXSLT - SET:HAS-SAME-NODE

MDN Web 中文网 - 粤ICP备13048890号