Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Questions about memory leak in using IXMLDOMNode and IXMLDOMDocument [Thread Next] Re: Questions about memory leak in using IXMLDOMNode and IXMLDOMDocumentTo: NULL Date: 11/1/2005 3:58:00 PM
jkclub2000@y... wrote:
> 1) IXMLDOMDocument has load function but doesn't have close (or
> anything similar). Does this mean I don't need to close the xml file
> after I've done with it?
> And I assume something like this would be ok too
> m_xmldoc.load("document1.xml");
> Then later,
> m_xmldoc.load("document2.xml"); // is document1.xml still open
> somehow?
In my understanding if MSXML loads a file then it reads and parses that
file and builds the DOM object model and then is done with the file
completely, you just have the object model then in memory, not any file
handle.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
