xsl-list
[Top] [All Lists]

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

2011-02-08 02:03:04
Okay i then guess my book isn't right about everything :-)


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

mailto:patrick(_dot_)szabo(_at_)lexisnexis(_dot_)at
Tel.: +43 (1) 534 52 - 1573 
Fax: +43 (1) 534 52 - 146 


-----Ursprüngliche Nachricht-----

Von: Imsieke, Gerrit, le-tex [mailto:gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de] 
Gesendet: Dienstag, 08. Februar 2011 08:51
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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"

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>