[xquery-talk] FLOR or FLWOR

Hans-Juergen Rennau hrennau at yahoo.de
Mon Sep 15 04:49:00 PDT 2008

>> or simpler
>> distinct-values($values)[let $v := . return $values[. = $v][2]]

>I think you need an exists() call there - a value might be 0 or "" or
>Michael Kay

Not to mention the danger of $values containing atomic values of a type for which the Effective Boolean Value is not defined, that is, any non-numeric type other than xs:string or xs:boolean!

With kind regards,
Hans-Juergen Rennau

Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 

More information about the talk mailing list