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.

Returns

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

Specifications

EXSLT - SET:DISTINCT

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
set:distinct()Chrome ? Edge ? Firefox Full support 3IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: ExE-Boss, mdnwebdocs-bot, SphinxKnight, Sheppy, Mgjbot, Fredchat
Last updated by: ExE-Boss,