|
next
|
 Subject: sequence distinct values Author: sreekanth mopuru Date: 23 May 2007 12:02 PM
|
What is the best way to combine two sequences with distinct values into a sequence with distinct values in a xquery?
For eg.
let $a := (1, 2, 3 )
let $b := (3, 2, 5, 6)
result should be ( 1,2,3, 5, 6)
distinct-values ( ($a, $b)) would probably get the result, but I am looking if there is any other efficient way to take advantage of the fact the sequences being merged are already distinct.
Thanks in advance,
Sreekanth
|
|
|