[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: AW: [xsl] 1st previous node()


Subject: Re: AW: [xsl] 1st previous node()
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Tue, 08 Feb 2011 08:50:49 +0100

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"


Current Thread