RE: [xsl] Problem with xsl:when statement

Subject: RE: [xsl] Problem with xsl:when statement
From: "Buehl, Reiner \(HPS EMEA GD-C&I\)" <reiner.buehl@xxxxxx>
Date: Fri, 7 Jul 2006 16:03:04 +0200
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@xxxxxxxxxxxxxxx]
> Sent: Friday, July 07, 2006 4:00 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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

Current Thread