meomike2000 Posted September 10, 2009 Share Posted September 10, 2009 can somebody please give me an example parser for this xml document, or lead me to a similar example that i can learn off of. thanks in advance mike..... header("Content-Type: text/xml") <post> <type>'.$type.'</type> <commentid>'.$commentid.'</commentid> <private>'.$privacy.'</private> <name>'.$name.'</name> <comment>'.$comment.'</comment> <friendid>'.$friendid.'</friendid> <senderpic>'.$senderpic.'</senderpic> <toppic>'.$toppic.'</toppic> <mess>'.$mess.'</mess> <date>'.$date.'</date> </post> i do not understand how to create the parser, and i can not find a good example Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted September 10, 2009 Share Posted September 10, 2009 It looks like half baked PHP and XML is that really the XML you want to parse? And do you want to do this using Ajax? Quote Link to comment Share on other sites More sharing options...
meomike2000 Posted September 10, 2009 Author Share Posted September 10, 2009 yes, this is what is returned from a php file from an ajax get request....... Quote Link to comment Share on other sites More sharing options...
meomike2000 Posted September 17, 2009 Author Share Posted September 17, 2009 i figured it out from help at w3 schools...... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.