GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

set:distinct()

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

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

## Syntax

```plain
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](https://exslt.github.io/set/functions/distinct/index.html)

source: MDN Web Docs mirror · page

Cite this

"set:distinct()". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/XML/EXSLT/Reference/set/distinct

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·