What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP]weird xml problem

[HELP]weird xml problem
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [HELP]weird xml problem
Can you post the entire contents of xml.js and we will take a look at it for you.

js code:
getString('C:\\test.xml', '//UserSentences/UserSentence/command');

function getString(sXmlFile, sXmlId)
    try {
        var xml = new ActiveXObject('Microsoft.XMLDOM');
    } catch(e) {
        try {
            var xml = new ActiveXObject('MSXML2.DOMDocument');
        } catch(e) {
            return false;
        }
    }
    xml.async = true;
    xml.load(sXmlFile);
    Debut.Trace(xml.selectSingleNode(sXmlId).text);
}

This post was edited on 01-26-2009 at 03:14 PM by matty.
01-26-2009 03:07 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP]weird xml problem - by DaAniv on 01-26-2009 at 03:00 PM
RE: [HELP]weird xml problem - by matty on 01-26-2009 at 03:07 PM
RE: [HELP]weird xml problem - by DaAniv on 01-26-2009 at 03:19 PM
RE: [HELP]weird xml problem - by DaAniv on 01-26-2009 at 04:43 PM
RE: [HELP]weird xml problem - by ShawnZ on 01-26-2009 at 04:49 PM
RE: [HELP]weird xml problem - by matty on 01-26-2009 at 04:54 PM
RE: [HELP]weird xml problem - by DaAniv on 01-26-2009 at 05:19 PM
RE: [HELP]weird xml problem - by matty on 01-26-2009 at 05:50 PM
RE: [HELP]weird xml problem - by DaAniv on 01-26-2009 at 05:53 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