W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2005

not operator in XQuery?

From: Frank Yung-Fong Tang <franktang@gmail.com>
Date: Wed, 6 Apr 2005 15:53:27 -0400
Message-ID: <2e4dfd69050406125327207122@mail.gmail.com>
To: www-ql@w3.org

Dear XQuery expert:

Can some one explain to me how can I do logical 'not' in XQuery WHERE
clause now?
I take a look at http://www.w3.org/TR/xquery

The syntax seems allow me to do
let $a := <a>4</a>
where $a > 3 and $a < 5
return $a

I cannot find a logical "not" operator there. So it seems not allow me to do

let $a := <a>4</a>
where not ($a > 3 and $a < 5)
return $a

Is right? Why?
-- 
Frank Yung-Fong Tang
譚永鋒
Šýšţém Årçĥîţéçţ
Received on Wednesday, 6 April 2005 19:53:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:17 UTC