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

XQuery Predicate syntax

From: Murali Mani <mani@CS.UCLA.EDU>
Date: Thu, 22 Apr 2004 10:52:08 -0700 (PDT)
To: www-ql@w3.org
Message-ID: <Pine.GSO.4.58.0404221050050.14666@panther.cs.ucla.edu>


I had a question regarding predicate syntax in XPath/XQuery. Is it
possible to specify

//student["Adam"]/advisor

the main question is whether the predicate is valid, and if so, whether
the semantics is equivalent to

//student[text () = "Adam"]/advisor

I could not see anything in spec which prohibited the former usage..

best, murali.
Received on Thursday, 22 April 2004 13:53:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT