You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by S�rgio Carvalho <se...@acm.org> on 2001/05/20 17:04:21 UTC
Re: R: R: it is a mad thing!!C2 is sloooooo!!!!!!
On Mon, 21 May 2001 11:15:30 -0400
"Vadim Gritsenko" <vg...@hns.com> wrote:
> Marco,
>
> Try also successive XSLT transformation;
> Divide your page on several independent steps (if possible) - and use aggregation to make it whole again;
>
> I used this approach and managed to reduce processing time from 10 seconds to 0.2!!!!
This is true. <xsl:apply-templates/> execution time grows linearly against both the number of elements in the input and the number of templates in the stylesheet. Splitting the input allows for simpler stylesheets and usually simpler inputs, greatly improving performance.
One alternative is to use iteration instructions in stylesheets, like <xsl:for-each>, but I definitely prefer content aggregation.
Sergio
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>