xsl-list
[Top] [All Lists]

RE: <xsl:if test ... - question

2003-01-07 02:01:15
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



<Prev in Thread] Current Thread [Next in Thread>