xsl-list
[Top] [All Lists]

Antwort: multiple if and expression

2002-10-01 08:40:33


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(_dot_)lohbeck(_at_)ksc(_dot_)ch@lists.mulberrytech.com am 01.10.2002 
17:33:09

Bitte antworten an xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com@inet

Gesendet von:     owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


An:      XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>
  • Antwort: multiple if and expression, manfred . weigel <=