OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Is "(//c)[a]" valid in Xpath 1.0?

[ Lists Home | Date Index | Thread Index ]


  (//c)[1]

  It works fine (at least in libxml).

  Am I missed something? Are such
  expressions valid in XPath 1.0?

yes, yes.

production [15] says a parenthesized expression is a PrimaryExpr
production  [20] says a FilterExpr is a PrimaryExpr
optionally followed by a Predicate (which is an Expression surrounded by
[] by production [8]

and production [19] says a FilterEXpr is a PathExpr

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS