This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: the nearest ancestor with the attribute



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]