[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Duplicates in a sequence ?
Hello 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 suggestion? let $sequence :=(1,12,14,17,22,12) return (count(distinct-values($sequence)) ne count($sequence)) Thanks in advance Leo
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|