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]

Re: How to &&




you should use "and" operator





"Rob van der Zeijden" <r.zeijden@tiscon.de> on 10/26/2000 04:27:33 PM

Please respond to xsl-list@mulberrytech.com

To:   xsl-list@mulberrytech.com
cc:    (bcc: Albert Tsun/Excel)

Subject:  How to &&




I want to test two variables. The test in java would be
if (//bodytext/setdatum/set == true && file://bodytext/setzeit/set ==
false)

Is this test also possible within XSL. The test would proberly a bit look
like:

      <xsl:if test="//bodytext/setdatum/set = 'true' &&
file://bodytext/setzeit/set  = 'false'">

But cocoon does not like the &&s.

Thanks.








 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]