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: Using contains() on element type name


> 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

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