[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl]
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
- [xsl] <xsl:if test ... - question
- Johannes . Becker - Tue, 7 Jan 2003 09:36:09 +0100
- Michael Kay - Tue, 7 Jan 2003 12:33:21 -0000
- <Possible follow-ups>
- Jarno . Elovirta - Tue, 7 Jan 2003 11:01:15 +0200 <=
- Heinz Seldte - Tue, 7 Jan 2003 11:03:05 +0200
- Johannes . Becker - Tue, 7 Jan 2003 10:18:45 +0100
<- Previous Index Next ->
RE: [xsl] <xsl:if test ... - questi, Michael Kay
Thread
RE: [xsl] <xsl:if test ... - questi, Heinz Seldte
[xsl] Read a attribute value from X, Vijaya Kumar Y
Date
RE: [xsl] <xsl:if test ... - questi, Heinz Seldte
Month
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <xsl:if test ... - questi, Michael Kay | Thread | RE: [xsl] <xsl:if test ... - questi, Heinz Seldte |
[xsl] Read a attribute value from X, Vijaya Kumar Y | Date | RE: [xsl] <xsl:if test ... - questi, Heinz Seldte |
Month |