set:distinct

Returns a subset of the nodes contained in the node-set. Specifically, it selects a node N if there is no node in the node-set that has the same string value as N, and that precedes N in document order.

distinct($node-set as item()*) ➔ item()*

Arguments

 

$node-set

item()*

The node set

Result

item()*

Namespace

http://exslt.org/sets

Links to specifications

EXSLT Sets Module

See also:

fn:distinct-values()