[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member