Subject: Boolean test in xsl:if
From: Mark Swardstrom <mark@xxxxxxxxxx>
Date: Wed, 2 May 2001 23:02:02 -0700
|
How could this come back True:
<xsl:if test="$var1 < $var2">
And this be False?
<xsl:if test="$var1 - $var2 < 0">
I'm using Resin. Also happens with <xsl:choose>
Actually, when I tried <xsl:if test="21 < 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
|