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]
Other format: [Raw text]

Re: Comparison operator


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


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