This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Comparison operator
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 22 Mar 2002 15:24:45 -0700 (MST)
- Subject: Re: [xsl] Comparison operator
- Reply-to: xsl-list at lists dot mulberrytech dot com
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