Re: [xsl] the nearest ancestor with the attribute

Subject: Re: [xsl] the nearest ancestor with the attribute
From: "Alex Albu" <xsl@xxxxxxxxxxxxxxx>
Date: Mon, 15 Jan 2001 17:05:54 -0500
Try
ancestor::*[@attr][1]


Alex

----- Original Message -----
From: "guai ya" <yaguai@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, January 15, 2001 4:45 PM
Subject: [xsl] the nearest ancestor with the attribute


> How could I get the nearest ancestor with a certain  attribute, say
"attr"?
>
> Thanks,
> Guai
>
> _____________________________________________________________
> Get email for your site ---> http://www.everyone.net
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread