winey Posted June 7, 2008 Share Posted June 7, 2008 Hi i want some help in manipulating XML data like search, append and delete records from XML file using php with out using DOM parser but only by using Xpat parser objects, my xml file is like this student.xml <student> <student_id email = "[email protected]"> <lastname> nnnn </lastname> <firstname> aaa </firstname> <address> nnnn </address> </student_id> <student_id email = "[email protected]" /> <lastname> rrrr </lastname> <firstname> vvvvv </firstname> <address> sssssss </address> </student_id> <student_id email = "[email protected]" /> <lastname> kkkkkk </lastname> <firstname> sssssss </firstname> <address> bbbbbbb </address> <student_id> </student> i need to develop a php program to parse these XML elements and attributes to display them in a table on a webpage be able to search with lastname or firstname be able to insert email,lastname,firstname and address, which should be appended into the xml file. pls get back to me ASAP Link to comment https://forums.phpfreaks.com/topic/109112-manipulating-xml-data-with-php-without-using-dom/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.