RE: [xsl] get boolean based on an attribute value

Subject: RE: [xsl] get boolean based on an attribute value
From: Americo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Wed, 26 Mar 2003 17:42:01 -0000
Hi.

> -----Mensagem original-----
> De: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] Em nome de Mark Ivs
> Enviada: quarta-feira, 26 de Marco de 2003 17:15
> Para: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Assunto: [xsl] get boolean based on an attribute value
> 
> 
(...)
> I want to do an xsl:if which will return me true if
> atleast one of the values of attr2 = true. If all the
> values of attr2=false, I want the if statement to
> return false.
> 
> How can I do that ? Your help is greatly appreciated.
> 

Try <xsl:if test="not(@attr2='true')">


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread