This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using contains() on element type name
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Using contains() on element type name
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 8 Aug 2000 09:53:58 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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