[xsl] Duplicates in a sequence ?

Subject: [xsl] Duplicates in a sequence ?
From: "Leo Studer leo.studer@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Mar 2015 10:58:29 -0000

I have a sequence and want to know whether there are duplicate values in it.

I came out with the following and think there must be an easy solution. Any

let $sequence :=(1,12,14,17,22,12) return (count(distinct-values($sequence))
ne count($sequence))

Thanks in advance

Current Thread