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

Re: [xsl] Grouping problem


Subject: Re: [xsl] Grouping problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 Dec 2007 16:25:49 GMT

> 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(.)"/>




> 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.


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread