RE: Inability of location steps to support multiple axes

> > So the above example would become:
> > 
> > "parent::a/(following-sibling::* | preceding-sibling::*)//text()"
> > 
> > Which in my opinion is logically much more concise...
> 
> It could be that I am missing something, but I believe your 
> proposal is possible in XPath 2.0. 

Correct, this expression is valid in XPath 2.0. 


Michael Kay

Received on Tuesday, 9 September 2003 18:06:02 UTC