Re: [xsl] Slow XSLT

Subject: Re: [xsl] Slow XSLT
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Sun, 2 Mar 2008 01:32:28 +0100
On 02/03/2008, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote:
> I would propose a slightly different approach:
> <xsl:for-each select="/Reports/Report/Columns/ColGrp">
>    <xsl:apply templates mode="ColGrp"/>
should read
   <xsl:apply-templates mode="ColGrp"/>
>  </xsl:for-each>
>  passing the parameters needed for your processing and using only two
>  templates for ColGrp: one for the innermost ColGrp, and one for the
>  others
>  <xsl:templates match="ColGrp[Col]" mode="ColGrp">
>  processing for the innermost ColGrp here
add the apply-templates here:
   <xsl:apply-templates mode="ColGrp"/>
>  </xsl:for-each>


Current Thread