Re: [xsl] Xsl Include cached?

Subject: Re: [xsl] Xsl Include cached?
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Mon, 30 Jul 2007 17:14:03 -0400
On Mon, 2007-07-30 at 12:46 -0700, Kerry Kobashi wrote:
> Do any xslt processors cache xsl:include? If not, what strategies can 
> one use to speed this process up?
> 
> I like to modularize and reuse templates throughout my application. It 
> seems that xsl:include doesn't cache include files and everything is 
> brought in file by file at compile time. Having to stuff one stylesheet 
> with every callable template in my application reads like a monolithic 
> tome.

Instead of using xsl:include/import, you could be using a pipeline.
Don't know if it would give better performance or reduce memory usage,
but would offer nice modularization and cacheable components.

best,
-Rob

Current Thread