Hi David,
Thanks a lot for your answer. I overlooked the existence of such a
property and it was exactly what I need.
In fact I have to deal with a great number of xml files (like 3000
files, about 250Mb).
As I cannot load all files in memory I am trying to implement a caching
algorithm. That's why I want to release document objects that are not
used (and maybe reload them later).
I thought that getting a new parser instance for every file is
inefficient as I always need to set the same features and the same
properties on the parser. Thats why I have a global parser hidden in a
singleton.
I'd really appreciate any comments on that decision.
--
Ivan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]