[XSL-LIST Mailing List Archive Home]
Re: [xsl] reverse and forward order
Subject: Re: [xsl] reverse and forward order|
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Fri, 11 Apr 2003 21:09:25 +0100
At 15:57 11/04/2003 +0100, David Carlisle wrote:
(ancestor::*) gives you your first ancestor in document order, ie
your most ancient ancestor; Adam (or Eve) in some
Not quite, I think.
The (ancestor::*) gives you the first ancestor in document order that is
of the principal node type of the ancestor axis i.e. an element node. But
it doesn't actually give the first ancestor in document order, which is the
At least that's my $0.02.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list