functx:non-distinct-values

Returns any values that appear more than once in a sequence

Description

The functx:non-distinct-values function returns any values that appear more than once in a list, based on typed value. All the values must have comparable types, or be untyped.

Parameters

Description

seq:string()

the sequence of values

Examples

XPath

Results

functx:non-distinct-values( (1,2,1,3))

1

functx:non-distinct-values( (1,2,1,3,2.0))

(1, 2)

functx:non-distinct-values( (1,2,3) )

()

See Also