• 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:distinct()

目录

  • 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:distinct()

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

set:distinct() returns a subset of the nodes in the specified node-set, returning only nodes with unique string values.

Syntax

set:distinct(nodeSet)

Parameters

nodeSet

The node-set in which to find unique nodes.

Return value

A node-set containing the nodes that have unique string values.

Specifications

EXSLT - SET:DISTINCT

MDN Web 中文网 - 粤ICP备13048890号