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

Subject: AW: AW: [xsl] 1st previous node()
From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Tue, 8 Feb 2011 09:02:38 +0100
Okay i then guess my book isn't right about everything :-)


. . . . . . . . . . . . . . . . . . . . . . . . . .
Patrick Szabo
 XSLT-Entwickler
LexisNexis
Marxergasse 25, 1030 Wien

mailto:patrick.szabo@xxxxxxxxxxxxx
Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146


-----UrsprC<ngliche Nachricht-----

Von: Imsieke, Gerrit, le-tex [mailto:gerrit.imsieke@xxxxxxxxx]
Gesendet: Dienstag, 08. Februar 2011 08:51
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: [xsl] 1st previous node()



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