RE: XSL:IF expression2003-05-08 01:48:47How can I test if an attribute's name contains a special string? Like this: "name() like 'special_text'" Thanks again, Agnes In XPath 2.0 you can do regular expression matching: <xsl:if test="matches(name(), '.*special.*')"> In 1.0 you can use the functions contains() and starts-with(). Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|