[xquery-talk] FLOR or FLWOR

Michael Kay mike at saxonica.com
Wed Sep 10 13:40:07 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
false().

Michael Kay
http://www.saxonica.com/



More information about the talk mailing list