Re: testing strings

Subject: Re: testing strings
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 16 Nov 1999 22:48:14 GMT

            	    <xsl:when test="{Choice}='true')">


You don't want the { } or the unmathced ) then it is syntactically
correct but evaluates to false on the example you gave as the content is
not just 'true' but has white space, so you want


    	    <xsl:when test="normalize-space(Choice)='true')">

David


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


Current Thread