Hello,

I am using Sablotron (via XML::Sablotron) in a system in which a fairly 
small set of stylesheets (5-10) are to process XML documents which are 
dynamically generated and thus continually changing. Everytime I invoke 
RunProcessor() the XSL must be reparsed into its internal form.  Examining 
the processor logs, a fairly significant amount of the processing time is 
spent parsing the XSL (for my situation the parsing time is roughly equal to 
the stylesheet execution time).

The documentation mentions nothing about being able to cache stylesheets 
internally (after they have been parsed).  Is this a feature which would be 
desirable for others?  I am willing to implement this feature but would need 
some direction on how cacheing should be specified (i.e. via an extra 
parameter to the RunProcessor() function?  the Processor constructor?  
something else entirely?)  Or is this whole thing a bad idea?  Does anyone 
have experience with how/if other XSL processors approach this problem?

Any advice would be appreciated!

Thanks,
Ace Thompson
[EMAIL PROTECTED]
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Reply via email to