ballhogjoni Posted October 9, 2007 Share Posted October 9, 2007 Does any one know how to parse xml with php? Quote 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. Quote 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. Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.