tarun Posted April 23, 2007 Share Posted April 23, 2007 Well Say I Have An XML File: <?xml version="1.0" encoding="ISO-8859-1" ?> <udata> <uname>tarun</uname> <age>12</age> <hobby>php</hobby> <profile> [center][color=red]Welcome To My Profile[/color][/center] </profile> </udata> <udata> <uname>john</uname> <age>13</age> <hobby>asp</hobby> <profile> [left][color=blue]Welcome[/color][/left] </profile> </udata> How Do I... 1. If uname tag Is tarun Display The profile tag 2. List All The Ages In A List e.g. 12 13 18 43 AnY HelP...? Thnx, Tarun 35 Link to comment https://forums.phpfreaks.com/topic/48326-simple-xml-parsing-for-a-beginner/ Share on other sites More sharing options...
tarun Posted April 23, 2007 Author Share Posted April 23, 2007 Help Needed Rather Urgently Please ThankYou... Link to comment https://forums.phpfreaks.com/topic/48326-simple-xml-parsing-for-a-beginner/#findComment-236293 Share on other sites More sharing options...
Barand Posted April 23, 2007 Share Posted April 23, 2007 see http://www.phpfreaks.com/forums/index.php/topic,136997.msg580130.html#msg580130 Link to comment https://forums.phpfreaks.com/topic/48326-simple-xml-parsing-for-a-beginner/#findComment-236306 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.