Subject: Re: Comparison operator
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 22 Mar 2002 15:24:45 -0700 (MST)
|
Michael Kay wrote:
> Either the processor is non-conformant, or this advice is wrong.
>
> XSLT 1.0 always converts the arguments of the "<" operator to numbers before
> doing the comparison. Therefore writing 0 rather than '0' should make no
> difference.
Oops; you are correct. I went a little too far when trying to divine what
could be producing the original poster's unexpected results.
- Mike
____________________________________________________________________________
mike j. brown | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|