This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: the nearest ancestor with the attribute
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] the nearest ancestor with the attribute
- From: "Alex Albu" <xsl at mailandnews dot com>
- Date: Mon, 15 Jan 2001 17:05:54 -0500
- References: <20010115214500.9C70E2747@sitemail.everyone.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Try
ancestor::*[@attr][1]
Alex
----- Original Message -----
From: "guai ya" <yaguai@wanaboo.com>
To: <xsl-list@lists.mulberrytech.com>
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