[Home] [By Thread] [By Date] [Recent Entries]
On 2011-02-08 08:03, Szabo, Patrick (LNG-VIE) wrote:
I think that preceding includes ancestors too so you could try leaving the ancestor::*[1] out. No, preceding doesn't include ancestors, see http://www.w3.org/TR/xpath20/ "the preceding axis contains all nodes that are descendants of the root of the tree in which the context node is found, are not ancestors of the context node, and occur before the context node in document order"
|

Cart



