Re: [xsl] Problem with xsl:when statement

Subject: Re: [xsl] Problem with xsl:when statement
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Fri, 7 Jul 2006 15:58:38 +0200 (CEST)
"Buehl, Reiner (HPS EMEA GD-C&I)" wrote:

  Hi

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

  I don't know this xsl:value-of() function.  Off course, there is an
xsl:value-of instruction (in the stylesheet document, it is an XML
*element*), but this is very different.

  Simply try:

    <xsl:when test="SET/TROUBLETICKET/@acknowledge = '1'">
      <xsl:text>Yes</xsl:text>
    </xsl:when>

  Regards,

--drkm
























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com

Current Thread