What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Load XML

Load XML
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. Load XML
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.

This post was edited on 09-09-2007 at 07:02 PM by SnuZZer.
09-09-2007 04:50 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Load XML - by SnuZZer on 09-09-2007 at 04:50 PM
RE: Load XML - by NanaFreak on 09-09-2007 at 08:44 PM
RE: Load XML - by ShawnZ on 09-09-2007 at 09:29 PM
RE: Load XML - by deAd on 09-09-2007 at 09:43 PM
RE: Load XML - by matty on 09-10-2007 at 12:01 AM
RE: Load XML - by SnuZZer on 09-10-2007 at 04:37 AM
RE: Load XML - by -dt- on 09-10-2007 at 04:41 AM
RE: Load XML - by SnuZZer on 09-10-2007 at 01:16 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On