W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2004

Re: [Xquery] 3.3.2 Filter Expressions (editorial comment on example)

From: Don Chamberlin <chamberl@almaden.ibm.com>
Date: Tue, 3 Aug 2004 15:16:39 -0700
To: David Carlisle <davidc@nag.co.uk>
Cc: public-qt-comments@w3.org
Message-ID: <OF431E7B33.51FBF1FB-ON88256EE5.007941FD-88256EE5.007A2C30@us.ibm.com>
Thanks for your comment. Actually, I think that your example contains an 
Axis Step rather than a Filter Expression. The expression 
*[@id='tiger'][1]  consists of  "*", which is an Abbreviated Forward Step, 
followed by "[@id='tiger'][1]", which is a Predicate List. Together these 
make up an Axis Step.

It's not easy to find a reasonable example of a filter expression inside a 
path expression!
--Don Chamberlin

David Carlisle <davidc@nag.co.uk> 
Sent by: public-qt-comments-request@w3.org
08/03/2004 09:42 AM


[Xquery] 3.3.2 Filter Expressions (editorial comment on example)

the last example of a filter expression says:

  The following example illustrates the use of a filter expression as a
  step in a path expression. It returns the element node within the
  specified document whose ID value is "tiger":


That path expression has two steps, both of which are filter expressions 
in the strict sense as zero predicates are allowed, but it isn't really
what one would naturally call an example of a filter expression in a


might be a better example (even if it's less efficient code)


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Tuesday, 3 August 2004 18:17:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:20 UTC