Re: [xsl] Inheriting an attribute from first ancestor that defines it

Subject: Re: [xsl] Inheriting an attribute from first ancestor that defines it
From: "Sean O'Halpin" <seanohalpin@xxxxxxxxxxx>
Date: Sat, 26 Oct 2002 11:44:51 +0100
Wow! Talk about responsive. Thank you both very much James and Michael.
Both solutions do exactly what I wanted.

Now I just have to figure out why:

    (ancestor::*/@att)

selects elements in document order whereas

    ancestor::*[@att]

selects them in reverse (which is what I'd expect).

Regards,

Sean

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


Current Thread