Jump to content

parse xml , need suggestions/inspiration


fxr

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.