Re: [xsl] contains with value-of

Subject: Re: [xsl] contains with value-of
From: Gregory Murphy <Gregory.Murphy@xxxxxxxxxxx>
Date: Mon, 14 Oct 2002 14:39:47 -0700 (PDT)
On Mon, 14 Oct 2002, Jakob 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?


  <xsl:when test="@TYPE = 'hasChildren'">

// Gregory Murphy <Gregory.Murphy@xxxxxxx>
// Software Engineer
// Customer Network Platform, Sun Microsystems

 XSL-List info and archive:

Current Thread