Re: contains with value-of2002-10-14 14:33:43Jakob Rasmussen wrote: I want to test if "hasChildren" is contained within (or equal to) the value of the attribute "TYPE" in a node, so I've tried to use this: <xsl:when test="contains(value-of select='@TYPE','hasChildren')"> but it doesn't work, so what to do? Try <xsl:when test="contains(@TYPE,'hasChildren')"> The whole value of the test attribute is an XPath expression. J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|