Antwort: [xsl] multiple if and expression

Subject: Antwort: [xsl] multiple if and expression
From: manfred.weigel@xxxxxx
Date: Tue, 1 Oct 2002 17:40:33 +0200

Hi Thomas!

usage of 'and' and/or 'or' in an expression:

<xsl:if test="not(@da = '') and not(@dada = '') and not(@dadada = '')">
will work!
'' marks a string value, don#t use it around an operator.

cheers
Manfred





thomas.lohbeck@xxxxxx@lists.mulberrytech.com am 01.10.2002 17:33:09

Bitte antworten an xsl-list@xxxxxxxxxxxxxxxxxxxxxx@inet

Gesendet von:     owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx


An:      XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Kopie:
Thema:   [xsl] multiple if and expression


Hello
Im struggling with the multiple if expression.
<xsl:if test="not(@da = '') 'and' not(@dada = '') 'and' not(@dadada = '')">
proceed
</xsl:if>

I found something on
http://www.w3.org/TR/xpath#NT-AndExpr

Or do I have to do nested xsl:if?

thanx
loebek


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






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


Current Thread