qexo-general
[Top][All Lists]
Advanced

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

Re: [Qexo-general] problem with same queries


From: Per Bothner
Subject: Re: [Qexo-general] problem with same queries
Date: Sat, 13 Sep 2003 11:15:29 -0700
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030827

Daniele Menotti wrote:

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?

Yes.

Both should be easy enough to implement (I just haven't gotten around
to it), as they can be easily expressed by re-writing:
  exists(x)
is equivalent to:
  not(empty(x))
and
  some $x in exp satisfies pred
is equivalent to:
  exists(for $x in exp return (if (pred) then $x else ()))
--
        --Per Bothner
address@hidden   http://per.bothner.com/






reply via email to

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