qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qexo-general] problem with same queries


From: Daniele Menotti
Subject: [Qexo-general] problem with same queries
Date: Sat, 13 Sep 2003 19:45:07 +0200

I have a problem whith the following two queries. I need to execute them with qexo for my thesis but they don't run.
How can I do?
I suppose the problem is about the use of same and exists, isn't it?
Can you help me?
 
Thank you very much!!!
 
Daniele
 
 
 

query number 1
 
<bib> {
 for $book in doc("bib.xml")//bib/book
 where (
  some $publisher_val in $book/publisher/text() satisfies
  some $year in $book/@year satisfies
   $year > 1991 and
   $publisher_val = "Addison-Wesley"       )
 return
  <book> {
   $book/@year ,
   for $title in $book/title
   return
    <title> {
     $title/text()    } </title>  } </book>} </bib>
 
 
 

query number 2
 
<list> {
 for $book in doc("bib.xml")//bib/book
 where (  exists($book/author)       )
 return
  <Jack-s-book> {
   for $title in $book/title
   return
    <title> {
     $title/text()    } </title>  } </Jack-s-book>} </list>    

reply via email to

[Prev in Thread] Current Thread [Next in Thread]