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.

Return value

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

Specifications

EXSLT - SET:DISTINCT

In this article