Hello folks,

Unfortunately Im experiencing performance problems by transoforiming big xml
files (>1MB). Right now the configuration I have is Xalan-C1.4/Xerces 2.1
AND by transoforming the xml files I dont use the xerces apis. The bigger
the xml file the slower it gets (exponentially).

It happend to use XML SPY 4.4/ MSXML 4.0 and noticed that transoforming
takes less (~2 times) (probably because the characters method of
FormatterListener is rewritten (I cannt do any profiling to compare the old
with the new charachters() - any help?)).

What I do?

After compiling the Stylesheets
int
        compileStylesheet(
                        const XSLTInputSource&
theStylesheetSource,
                        const XalanCompiledStylesheet*&
theCompiledStylesheet);

and build an xml file(using the XalanSourceTreeContentHandler)...

the XalanTransformer.compileStylesheet(...) is called (with its own
FormatterListener.charachters() ).

Can anyone suggests what the reasons for this performance burst could be?

Thank you in advance,

P.S. It might be that the information given is not enough but I want to open
a discussion in that case for what to do and what is reasonable by dealing
with transforming of big xml files.

Reply via email to