Re: Accessing the element stack generically

Subject: Re: Accessing the element stack generically
From: "Clark C. Evans" <clark.evans@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Oct 1999 13:22:22 -0400 (EDT)

On Fri, 15 Oct 1999, Steve Muench wrote:
> These should be exactly the elements on the
> ancestor-or-self axis so a select="ancesor-or-self::*"
> should return the node list of elements
> including yourself in the "stack" (in reverse document order)

Yep.  Found it, thanks!   XT returns the list in document order,
and the specification states that lacking a sort clause,
the for-each construct always returns things in document order...
thus,the solution is portable!  I'm thrilled.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread