On Tue, Aug 12, 2014 at 10:50:37PM -0000, Heiko Niemann kontakt@xxxxxxxxxxxxxxxx scripsit:
> >> /foo/E/preceding-sibling::(A,N)
> >
> > Indeed, this is currently disallowed syntax.
> >
>
> Is there a discussion to allow this syntax?
Does that mean I'm looking for /foo with children (in document order) A,
N, and E, or does it mean I'm looking for /foo with an E child preceded
by an A or an N child? I suspect you mean the latter from the other
examples of what you're trying to do, but if we're really saying
"preceding-sibling this sequence" it should be the first one.
I can imagine that would be useful, but possibly not useful enough to
implement. (What does ancestor::(A,B,C) mean?)
-- Graydon
|