At 08:34 23.07.2002 -0700, you wrote:
>Hi HolgeR,
>
>Can't you just call XalanTransformer::compileStylesheet() to the compile
>the stylesheet when necessary?
I will do so in the future. But I think compiled stylesheets using large 
amount of memory.

>Another way to do this would be to derive a class from Xalan's Writer
>class, which can be used to construct an XSLTResultTarget, although I'd not
>recommend doing it unless you can't get the callback to work.
Got it. I compile the stylesheet before processing and destroy it after 
processing. With my own callback (preallocating 32kB of memory) the 
rendering is 2-3 times faster than using ostrstream (result is about 2MB). 
This fact is surprising to me. Is it M$ (using MSVCP60SP5) with a *peep* 
implementation of ostrstream?

Thank you for supporting,

HolgeR

-- 
holger floerke                     d  o  c  t  r  o  n  i  c
email [EMAIL PROTECTED]         information publishing + retrieval
phone +49 2222 9292 90             http://www.doctronic.de

Reply via email to