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


Help: OASIS Mailing Lists Help | MarkMail Help



   [XPath] is it legal ?

[ Lists Home | Date Index | Thread Index ]


as everything is a node, one can match a node like this :
which works well in the axis that are walking through the tree
what about other axis ?
which would give the same as (respectively) :
and above all what about :
which are all empty if they are legal

but are they legal ?
(does an XPath parser must complain ?)

here are the last ones :

All are accepted with Jaxen
I didn't read anything in the spec that makes them illegal

Will you be hurted if someone (like me) was writting something like this :

(this is a very smart and convenient mean to cross objects that behave 
like nodes, which is a feature intensively used in Active Tags : an 
object can expose some of its properties as attributes which values can 
be also an object that can expose some of its properties as attributes)


              (. .)
|      Philippe Poulard       |
        Have the RefleX !


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

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