xsl-list
[Top] [All Lists]

RE: [xsl] Problem with xsl:when statement

2006-07-07 07:03:25
Hi Juergen,

I tried that before and it did not work... with both cases I always
get "No", no matter if the parameter is set to '0' or '1' in the XML
file.
 
Best regards,
Reiner.

-----Original Message-----
From: Juergen [mailto:xsl(_at_)juergen-zink(_dot_)de] 
Sent: Friday, July 07, 2006 4:00 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Problem with xsl:when statement

Hi Reiner,

why so complicated. 
                <xsl:when
test="xsl:value-of(select='SET/TROUBLETICKET/@acknowledge')='1
'">Yes</xs
l:when>

Just use test="SET/TROUBLETICKET/@acknowledge='1'"

Cheers,

Juergen


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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