[Home] [By Thread] [By Date] [Recent Entries]
On 22/09/2012 12:24, Ihe Onwuka wrote:
Please ignore the match on the root template I meant to edit it out.
<xsl:template match="/">
<xsl:value-of select="sum(key('counts',max($all))/count(@*))"/>
</xsl:template>then the styleheet won't make any passes at all. The variable all will not be referenced so (in most systems) will not be evaluated, so the only thing that happens would be that the document element is processed to produce "stuff" and no further processing will happen. David
|

Cart



