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

XML Help needed
Author: Message:
Mothuim
New Member
*


Posts: 14
Joined: Jul 2006
O.P. RE: XML Help needed
Thanks but that wasn't right either, however it did help me to get it right.

The right code was:

code:
var nodeUser = xmlDoc.documentElement.selectSingleNode("//Statistics/User[@UserID="+Messenger.MyUserId+"]");
if(nodeUser){
     Debug.Trace("User exists.");
     
} else {
     Debug.Trace("User does not exist.");
}


This is the first half the problem, i can detect if it is a new user, now i need to make it right to the new user's tags/elements/thing (i don't really the know the correct term!).

I'll try it myself I think i have a good idea how to do it, but i may be back if i get very stuck.

Thanks

UPDATE: Second problem solved a few minutes after the first. Expect a new version soon!

This post was edited on 07-17-2006 at 12:44 AM by Mothuim.
07-17-2006 12:21 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
XML Help needed - by Mothuim on 07-16-2006 at 10:20 PM
RE: XML Help needed - by Silentdragon on 07-16-2006 at 11:24 PM
RE: XML Help needed - by Mothuim on 07-16-2006 at 11:29 PM
RE: XML Help needed - by cooldude_i06 on 07-16-2006 at 11:46 PM
RE: XML Help needed - by Mothuim on 07-17-2006 at 12:21 AM


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