var factory = shell.serviceManager.maxiXML.factory; var domObject = factory.createEmptyDOMDocument();