ballhogjoni Posted October 9, 2007 Share Posted October 9, 2007 Does any one know how to parse xml with php? Link to comment https://forums.phpfreaks.com/topic/72491-does-any-one-know-how-to-parse-xml-with-php/ Share on other sites More sharing options...
trq Posted October 9, 2007 Share Posted October 9, 2007 simplexml. Link to comment https://forums.phpfreaks.com/topic/72491-does-any-one-know-how-to-parse-xml-with-php/#findComment-365537 Share on other sites More sharing options...
ballhogjoni Posted October 9, 2007 Author Share Posted October 9, 2007 I have a xml file that has hundreds of parent tags called <card> and within each of those parent tags I have child tags called <category><status> etc... I am running php 4 and I need to get my script to echo, for each parent tag (<card>), the child tags (<category><status> etc...). How would I go about doing that? I have read the php manual but either I don't understand it or it doesn't go into depth about doing this. Link to comment https://forums.phpfreaks.com/topic/72491-does-any-one-know-how-to-parse-xml-with-php/#findComment-365548 Share on other sites More sharing options...
ballhogjoni Posted October 9, 2007 Author Share Posted October 9, 2007 anybody? Link to comment https://forums.phpfreaks.com/topic/72491-does-any-one-know-how-to-parse-xml-with-php/#findComment-365628 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.