[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The output of evaluating an XSLT transform is the

Subject: Re: The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right?
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 13 Apr 2010 05:59:23 -0700 (PDT)
Re:  The output of evaluating an XSLT transform is the
De : Bill Michell wrote"

> Of course, it *is* possible to write extension
functions that
> do have side-effects. But this should really only be done
mindfully, and in full knowledge of the consequences. And then
> only if you
don't mind the output of your transformation being
> non-deterministic...
Well, having side effects does not mean your transform is
But the time relation between two side
effects is non-deterministic.  For
instance, xsl:result-document
can have side-effects, but has been designed to
minimize the
potential problems (e.g. you cannot read a URI that has been used
in xsl:result-document).

  And of course, you have to be sure to understand
the extension
mechanism you use (the one provided by the processor your are
targeting).  Rspecially the relationships with the optimizer ("if
my extension
function does not return anything, can it be thrown
away by the optimizer?",
"if my function is called twice with the
same parameters, can it be
memoized?", etc.)


Florent Georges

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.