var factory = shell.serviceManager.maxiXML.factory; var domObject = factory.createDOMDocumentFromPath("c:\\document.xml, false);