Subject: Re: variable going out of scope in a for-each loop?
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 10 Dec 2001 01:46:49 -0700 (MST)
|
> No, he didn't. This is a clever little bit of hackery. NaN is not equal
> to itself. So if the node value is a number, number(.)=number(.) is a
> tautology, but if the node value *isn't* a number, then NaN=NaN is false.
Interesting. Thanks. But "clever" isn't the word I would have used :) Heh.
- Mike
____________________________________________________________________________
mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|