[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl]
Subject: RE: [xsl] <xsl:if test ... - question
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 7 Jan 2003 11:01:15 +0200

Hi,

[snip]

>             <check>
>                   <xsp:expr>check</xsp:expr>
>             </check>

[snip]

>                   <xsl:if test="check = 'true'">

[snip]

> My problem is, that my checking doesn't work (it never disables the
> selectbox). What am I doing wrong?

Whitespace's probably the problem: try 

  <xsl:if test="normalize-space(check) = 'true'">

or change the XSP to

  <check><xsp:expr>check</xsp:expr></check>

Cheers,

Jarno - Colony 5: Follow your Heart (Hyperheart mix)

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



Current Thread