This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variable going out of scope in a for-each loop?
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 10 Dec 2001 01:46:49 -0700 (MST)
- Subject: Re: [xsl] variable going out of scope in a for-each loop?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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