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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.