set:distinct()

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 AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
set:distinct()Chrome ? Edge ? Firefox Full support 3IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown