fxr Posted May 10, 2008 Share Posted May 10, 2008 hullo, I have created an xml file, @ --> http://dailygrain.com/EUR_USD_quotes.xml i am trying to parse the contents of it into an array like data structure like this.. day date --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value day date --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value ......... --> time --> value i have searched the internet for tutorials and inspirtaion on how i am going to create this data structure, but i am hitting a creative brick wall. I have read the manual but its going completely over my head. Can anyone offer any suggestions as to how i could proceed? should i consider reformatting my xml file? please help if you can , i have been stuck on this problem for the past week and any code i have created based on examples in the manual and other tutorials , i cant get to work for my xml file as i am struggling to understand how they work. Thanks. Link to comment https://forums.phpfreaks.com/topic/105063-parse-xml-need-suggestionsinspiration/ Share on other sites More sharing options...
BlueSkyIS Posted May 10, 2008 Share Posted May 10, 2008 have you tried xml_parse_into_struct? Link to comment https://forums.phpfreaks.com/topic/105063-parse-xml-need-suggestionsinspiration/#findComment-537818 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.