W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2003

Valid use of the Where clause

From: McMillan, Shane <Shane.McMillan@softwareagusa.com>
Date: Fri, 21 Mar 2003 13:55:34 -0700
Message-ID: <82962908B5CD7B4082925E2175E61F2201F3852E@usmsg06.sagus.com>
To: "'public-qt-comments@w3.org'" <public-qt-comments@w3.org>
I have been reading the specs on 1.0 working draft for XQuery regarding the
where clause.  It does not seem to support the following syntax:
Let $a := input()/person/lastname
Where $a = "miller"<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
Return $a
 
Notice in the where clause there is no further navigation down the tree
because this query wants all documents with lastname = to miller.  All spec
examples do not show this usage of the where clause.  Is the above query
syntactically correct based on the 1.0 standards?
many thanks in advance
Shane
Received on Friday, 21 March 2003 15:56:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT