xsl-list
[Top] [All Lists]

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

2003-03-11 04:21:48
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