This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Antwort: multiple if and expression



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

Bitte antworten an xsl-list@lists.mulberrytech.com@inet

Gesendet von:     owner-xsl-list@lists.mulberrytech.com


An:      XSL-List@lists.mulberrytech.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]