RE: [xsl] Ancestors

Subject: RE: [xsl] Ancestors
From: "Ball, Mike" <Mike.Ball@xxxxxxxxxxxxxxxx>
Date: Thu, 8 Nov 2001 16:58:50 -0000
>     I think is something along the lines:
>       <xsl:if test = 
> "contains(name(ancestor::*),'region')"/>, but it does
> not seems
> to work.

I think it's 

	<xsl:if test="ancestor::*[contains(name(),'region')]">

Hope that helps

Mike Ball

Application Services Consultant
Software AG UK

The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

 XSL-List info and archive:

Current Thread