This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

choose - when problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]