[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Boolean test in xsl:if

Subject: Boolean test in xsl:if
From: Mark Swardstrom <mark@xxxxxxxxxx>
Date: Wed, 2 May 2001 23:02:02 -0700
boolean test
How could this come back True:

<xsl:if test="$var1 &lt; $var2">

And this be False?

<xsl:if test="$var1 - $var2 &lt; 0">

I'm using Resin.  Also happens with <xsl:choose>

Actually, when I tried <xsl:if test="21 &lt; 20"> this was also True.  Am I
missing something?  It does not happen on Xalan, but before I chalked it up
to a bug (that I can at least work around, evidently), I thought I'd see if
I'm missing something obvious.

Thanks,

- Mark

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.