Mike Kay wrote:
> I think it would be useful to the debate if someone could articulate the
> reasons why stylesheets should be side-effect-free. (If the argument is the
> same as for programming in general, then we can probably reject it as a good
> idea that never caught the imagination of the masses. Is there something
> special about stylesheets or XML transformations that means this style of
> programming is particularly appropriate in this domain? Because I'd hate to
> see everyone using DHTML simply because it requires less brainpower.)
Here are two reasons from which we have practical experience: lazy evaluation
and
implicit multithreading. In general the draft does not say anything about the
order in which
things are processed.
</David>
-----------------------------------------------------------------
David.Rosenborg@xxxxxxxxxxx OM Technology
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|