xsl-list
[Top] [All Lists]

RE: A proposal:xsl:result-document asynchronous attribute

2003-03-11 13:23:58
Jeni Tennison wrote:
Sent: Tuesday, March 11, 2003 5:22 AM
Subject: Re: [xsl] A proposal:xsl:result-document 
asynchronous attribute

Hi Americo,

Does this means that doing something like
<xsl:if test="$foo=$foo"> might return false??

Yes, if the post() function is not idempotent (if it may return
different results each time that it's used with the same arguments).

Actually, test="$foo = $foo" can return false already as it is,
e.g. if $foo is set to NaN.  Does this mean that the "constant" NaN
isn't idempotent (thinking of it as a function of zero arguments)?
Or to put it another way, number() is not idempotent if its argument
is "snizzlfritz" ... right?

Lars


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list