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: xslt numeric comparisons


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 &lt; instead of <, and it'll work fine.

Regards,
Matthias

-- 

Matthias O. Will (m.o.will@web.de)                       <>< 
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

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