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

Xml parser fails
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. Xml parser fails
Hi,

I am currently gathering some experience witn the XMLDOM object.
I have a weird error, though, in the following piece of code:

code:
var Notification = new Object();
XmlParser.load(MsgPlus.ScriptFilesPath + BackSlash + "Notifs.xml");
Key = MsgPlus.ScriptRegPath + BackSlash + "LastNotif";
LastNotif = RegRead(Key); // RegRead(Key) works fine.. My script basically relies on it :P
NodeName = "//Notification" + (LastNotif + 1);
Debug.Trace("> " + NodeName)
D = XmlParser.selectSingleNode(NodeName);
Notification.Name = D.attributes.getNamedItem("Name").value; // Line 1400


The error is:

Error detected in line 1400 of "Date calculator.js": Object required.

Can anyone please help me?

Tnx in advance..
05-08-2008 05:22 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Xml parser fails - by SmokingCookie on 05-08-2008 at 05:22 PM
RE: Xml parser fails - by Matti on 05-08-2008 at 06:42 PM
RE: Xml parser fails - by SmokingCookie on 05-08-2008 at 07:52 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