[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Using contains() on element type name


Subject: RE: Using contains() on element type name
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 8 Aug 2000 09:53:58 +0100

> Short version, is it possible to use "contains()" on an 
> element type name?
>
yes, e.g. <xsl:template match="*[contains(name(.), 'foo')]">

Probably not good practice to design XML vocabularies in which names are
structured like this, but we all have to deal with badly-designed XML on
occasions...

Mike Kay
> 


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



Current Thread
Keywords
xml