Hi,
I've tried option 1 and it's at least 3-4 times slower. Would you give me details and pointers on how to implement option 2? Not sure what you meant by implement the release, since release() for the DOMTreeWalker is already implemented.
Take a look in dom/impl/DOMTreeWalkerImpl.cpp . You will see that there is no code in the release method. Then take a look at the code in release in something like DOMElementImpl.cpp. If you trace that through you will see what needs to be done. Be warned though, after you do this you will fully understand xerces memory management :)
Any open source projects you would recommend as a good working example of how Xerces should be used?
That really depends on what level. If you want to look at a project that makes extensive use of xerces then take a look at Pathan 2.
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]