On 04/12/2007, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
Gestalt doesn't allow extension functions to have side effects though,
so I will put this on my todo list.
But what about xslt-defined functions that have side effects?
<xsl:function name="my:f">
<xsl:param name="x">
<xsl:result-document...
<xsl;apply-templates ...
...
<xsl:for-each select="my:f(.)"/>
Ugh!
People who write that sort of stuff deserve stronger warnings!
Presumably a similar warning for xsl:template and xsl:for-each-group
would be equally desirable. Any others?
not xsl:template:-)
<xsl:template match="/"/> typically does have an effect.
That's often true. I would still think a warning is in order though,
with better wording.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--