Re: Different Current-Node-Set

Michael Ludwig <[email protected]> Tue, 16 Feb 2010 00:02:04 +0100
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <20100215230204.GC2404@wladimir>
Sam Prokop schrieb am 15.02.2010 um 11:41:21 (+0100):

> I wasn´t aware that compare in Xpath compares to any preceding nodes
> not only the first one.

But of course nothing stops you from going preceding::CCC[1] if that's
what you want - the preceding-axis in in reverse document order, so [1]
will get the closest node to the context node.

-- 
Michael Ludwig