xsl-list
[Top] [All Lists]

RE: get boolean based on an attribute value

2003-03-26 10:42:01
Hi.

-----Mensagem original-----
De: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] Em nome de 
Mark Ivs
Enviada: quarta-feira, 26 de Marco de 2003 17:15
Para: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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