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> Manfred
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Slow XSLT, Michael Kay | Thread | Re: [xsl] Slow XSLT, Cleyton Jordan |
RE: [xsl] Slow XSLT, Michael Kay | Date | Re: [xsl] Use of data() function (w, Mukul Gandhi |
Month |