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

Read from XML
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Read from XML
You can use the Microsoft XML object for this. :)
code:
var xml = new ActiveXObject('Microsoft.XMLDOM'); //Create the ActiveX object
xml.load("http://whatpulse.org/api/users/171247.xml"); //Load the XML file
var totalKeyCount = xml.selectNodes("/UserStats/TotalKeyCount/text()"); //Get the text from the node
var message = "I have made "+totalKeyCount+" key strokes."; //Create a message
ChatWnd.SendMessage(message); //Send the message --- Make sure ChatWnd is defined!!!
Normally, it should work perfectly. ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-28-2006 07:13 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Read from XML - by Joakin on 10-28-2006 at 06:57 PM
RE: Read from XML - by Matti on 10-28-2006 at 07:13 PM
RE: Read from XML - by Joakin on 10-28-2006 at 07:32 PM
RE: RE: Read from XML - by Felu on 10-28-2006 at 07:45 PM
RE: Read from XML - by Joakin on 10-28-2006 at 07:48 PM
RE: Read from XML - by Spunky on 10-28-2006 at 09:38 PM
RE: Read from XML - by Joakin on 10-28-2006 at 09:51 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