What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » [suggestion] whatpulse plugin

[suggestion] whatpulse plugin
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [suggestion] whatpulse plugin
quote:
Originally posted by TheGeek
I never got it to work.
It just provides an opentag event and a closetag event AFAIK.
wtf? its simple as to use and parse eg
lets say you have to parse
code:
<temp>
<item1>blah</item1>
<item2>blah2</item2>
</temp>

all you do is create a instance of the xml_parser , get it to parse that xml above($toparse) and free the xml_parser
code:
$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $toparse, $arr_vals ,$index);
xml_parser_free($xml_parser);


$toparse is the xml code
$arr_vals is an array which has the names of the nodes and a refernce to the $index array
$index array has the values of the nodes

then to access the content of a node we just use something like where $node is the node
$arr_vals[$index[$node][0]]['value'];


[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-03-2005 11:07 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[suggestion] whatpulse plugin - by Ascathon on 07-01-2005 at 11:26 AM
RE: [suggestion] whatpulse plugin - by opdude on 07-01-2005 at 04:59 PM
RE: [suggestion] whatpulse plugin - by Eljay on 07-01-2005 at 05:13 PM
RE: [suggestion] whatpulse plugin - by TheGeek on 07-02-2005 at 10:44 AM
RE: [suggestion] whatpulse plugin - by -dt- on 07-02-2005 at 10:49 AM
RE: [suggestion] whatpulse plugin - by L. Coyote on 07-02-2005 at 07:58 PM
RE: RE: [suggestion] whatpulse plugin - by TheGeek on 07-02-2005 at 08:36 PM
RE: [suggestion] whatpulse plugin - by L. Coyote on 07-02-2005 at 10:25 PM
RE: RE: [suggestion] whatpulse plugin - by TheGeek on 07-03-2005 at 10:40 AM
RE: [suggestion] whatpulse plugin - by -dt- on 07-03-2005 at 11:07 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