Re: [xsl] Pattern notation for preceding-sibling

Subject: Re: [xsl] Pattern notation for preceding-sibling
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2014 09:56:27 -0000
Heiko Niemann kontakt@xxxxxxxxxxxxxxxx wrote:

Elements A,B,B,N,E,B,C are contained in element foo.

Now I want A,N to be returned, so my first guess is, that this might work:

/foo/E/preceding-sibling::(A,N)

But it does not, so I either have to write

/foo/E/(preceding-sibling::A, preceding-sibling::N) or

So, is there a (short) notation that I missed so far, that does what I
expected /foo/E/preceding-sibling::(A,N) to do?

No, I don't think so.


Current Thread