[xml] Does xsltproc load entire XML into memory



Hello,

 

I looked through the code, and it seems xsltproc calls xmlReadFile on XML file, which would load it into memory.

We normally deal with very large XML files and avoid loading them into memory in our application by using SAX api.  However in scripts we call xsltproc.

 

Am I understanding it correctly that xsltproc does in fact load entire XML into memory?

And is that a part of a spec, or could it be redone by SAX parsing and avoiding a large memory imprint.

 

Thank you.

Alex

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]