[xsl] choose - when problem

Subject: [xsl] choose - when problem
From: Jo Kong HO <JoK@xxxxxxxxxxxxxx>
Date: Sun, 11 Feb 2001 15:57:47 -0000
Hi All

Having a little problem with choose - when.  I having trying to test wether
a node is having the value of "True" or "False".

Given the following xslt segment, and I know the selected node value is
"True". The following test seems to returns false.

<xsl:choose>
	<xsl:when test=".='True'">
		Y
	</xsl:when>
	<xsl:otherwise>
		N
	</xsl:otherwise>
</xsl:choose>

Something I done wrong here?

cheers
joe

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


Current Thread