Hi.
I'm trying to get information from a XML document, but my script doesn't work.
Here is my code:
code:
36: var xml = new ActiveXObject( "Microsoft.XMLDOM" );
37:
38: var xmlOpdaterFil = MsgPlus.ScriptFilesPath + "\\kanal.xml";
39: xml.load(xmlOpdaterFil);
40:
41: var hentKanal = xml.selectNodes("/Item/Kanal");
42:
43: kanal = hentKanal[1].text;
I have tried to translate the error from danish to english:
code:
Function called: OnEvent_Uninitialize
The script is stopped
The script is starting
The script is started and ready
Function called: OnEvent_Initialize
Error: An object is obligatory (code: -2146827864)
File: TV Guide.js. Line: 43.
Function OnEvent_Initialize gave an error. Code: -2147352567
Anyone who knows why it doesn't work?
Thanks in advance.