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:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Xml parser fails
A quick research pointed out that you were very close, but yet so far. There's no value child of the Node object, you should use the nodeValue property instead! :D

Even better: the return value of selectSingleNode is in your case an Element object (which is an extension of Node), so you can simply use D.getAttribute("Name") which is simpler, cleaner, more efficient and does the same thing. :)
code:
D = XmlParser.selectSingleNode(NodeName);
Notification.Name = D.getAttribute("Name");

This post was edited on 05-08-2008 at 06:44 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
05-08-2008 06:42 PM
Profile E-Mail PM Web 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