RE: [xsl] test equals fails

Subject: RE: [xsl] test equals fails
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Mon, 4 Nov 2002 09:26:06 -0500
> [JWallis]
> <td>
>       <xsl:variable name="month">OCT</xsl:variable>
>                 <xsl:choose>
>                         <xsl:when test="$month=JAN">01</xsl:when>
> <!-- etc. -->

You're missing quotes around the strings, e.g.:

	<xsl:when test="$month='JAN'">01</xsl:when>

Cheers,

	-- Paul

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


Current Thread