XmlDocument_newFromDOM
Creates a new XML document instance from a DOM tree.
#include "InterfaceFactory.h"
DIRXML_EXPORT
XmlDocument * IFAPI XmlDocument_newFromDOM (
NAMESPACE(DOM)Document *document);
Returns a pointer to an XML document interface.
The getDocument method in NativeInterface.h returns an instace of a DOM document interface.
The returned instance must be destroyed with a call to XmlDocument_destroy()
The XmlDocument instance does NOT take ownership of the passed DOM Document instance and so it must be freed AFTER the XmlDocument instance is destroyed.