Hello Juha, why not try by yourself ? for the record, there are 5 open-source engines listed on the W3C site: - Fatdog's XQEngine - GNU's Qexo (Kawa-Query) - Lucent's Galax - Sourceforge's Saxon - Qizx/Open By the way, I will be surprised if your query works as it is: in the where clause: where @id = 'a' the path expression '@id' has no initial node(s), therefore -if I make no bloomer- a run-time error should be raised. >>-----Original Message----- >>From: www-ql-request@w3.org [mailto:www-ql-request@w3.org]On Behalf Of >>Juha Vierinen >>Sent: Friday, November 21, 2003 5:19 AM >>To: www-ql@w3c.org >>Subject: XQuery implementations >> >>Hi, >> >>Does anyone know of a open source XQuery implementation that can do the >>following statement: >> >> >>for $quizes in document(/db/quiz/data)/quiz >> for $categories in $quizes/category >> for $questions in $categories/question >> where @id = 'a' >> return >> <quiz> >> {$quizes/@*} >> <category> >> {$categories/@*} >> {$question} >> </category> >></quiz> -- Xavier FRANCReceived on Friday, 21 November 2003 12:59:09 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC