Hi Dan, > I have two questions: > 1. Does "implementation" mean *my* application code or does it mean the > Xerces developed DOM implementation?
If you do not do anything then the document will delete all the allocated memory when it is deleted (As long as you have not adopted the document). > 2. Would the list of methods that return an object owned by implementation > include DOMNode* getFirstChild()? Asked another way, is my application > responsible for deleting the DOMNode returned by getFirstChild()? No. You can call release on nodes you know are orphaned. This will signal the document that it can reuse the memory from that node. For a more full explanation have a hunt in the archives. I described the model in more depth a month or two ago. Gareth -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]