[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] A proposal:xsl:result-document asynchronous attribute


Subject: Re: [xsl] A proposal:xsl:result-document asynchronous attribute
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 11:21:48 +0000

Hi Americo,

>>   <xsl:variable name="foo" select="post($myURI, $myMessage)" />
>> 
>> You could have something like:
>> 
>>   <xsl:if test="$foo">
>>     <result>
>>       <xsl:copy-of select="$foo" />
>>     </result>
>>   </xsl:if>
>> 
>> and have the $foo that was tested be different from the $foo 
>> that was copied?
>
> 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).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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



Current Thread