At 06:13 PM 7/1/2003, Xavier C. FRANC wrote: >It seesm that the use-case 1.1.9.4 Q4 (may 2003) is erroneous: Thanks, Xavier, you are right. Here is the version I wrote to fix this problem: <results> { let $a := doc("http://www.bn.com/bib/bib.xml")//author for $last in distinct-values($a/last), $first in distinct-values($a[last=$last]/first) order by $last, $first return <result> <author> <last>{ $last }</last> <first>{ $first }</first> </author> { for $b in doc("http://www.bn.com/bib.xml")/bib/book where some $ba in $b/author satisfies ($ba/last = $last and $ba/first=$first) return $b/title } </result> } </results> JonathanReceived on Thursday, 7 August 2003 21:18:45 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC