[xsl] contains with value-of

Subject: [xsl] contains with value-of
From: "Jakob Rasmussen" <jakob@xxxxxxxxxx>
Date: Mon, 14 Oct 2002 22:43:35 +0200
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?

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

Current Thread