Subject: Re: xslt numeric comparisons
From: "Matthias O. Will" <m.o.will@xxxxxx>
Date: Tue, 17 Oct 2000 12:10:52 +0200
|
Ian Sparks wrote:
> <xsl:choose>
> <xsl:when test="($start - $size) >= $size">Previous</xsl:when>
> <xsl:when test="($start - $size) < $size">Next</xsl:when>
> </xsl:choose>
Use < instead of <, and it'll work fine.
Regards,
Matthias
--
Matthias O. Will (m.o.will@xxxxxx) <><
Institute of Computer Science, University of Freiburg
Georges-Koehler-Allee, Bldg. 51, D-79110 Freiburg, Germany
Phone: +49-761-203-8170 Fax: +49-761-203-8162
URL: http://ad.informatik.uni-freiburg.de/~will
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|