I am trying to connect to create an MX session using win32com tool and a file already written to create an MXSession. I want to be able to load a document off the server, and then manipulate it as if it were an XML document.
Everything goes through successfully when I enter the code, but it returns a COMObject MSXML.DOMDocume nt, and will not allow me to alter it as if it was an XML Doc (I assume because it's actually a COM Object instance?). Does anyone know what I can use to be able to get as an XML instance? (Please be specific, this is my second week using Python!)
Everything goes through successfully when I enter the code, but it returns a COMObject MSXML.DOMDocume nt, and will not allow me to alter it as if it was an XML Doc (I assume because it's actually a COM Object instance?). Does anyone know what I can use to be able to get as an XML instance? (Please be specific, this is my second week using Python!)
Code:
from mx import MXSession mx = MXSession("tmsuat") myDoc = mx.loadDoc("official/system.config/global/tcwrules/ecnsalesdata") <COMObject MSXML.DOMDocument>
Comment