Newbie - How to parse and display an online xml ?
Posted: Thu Sep 24, 2009 3:15 pm
Hi Friends,
I am trying to parse XML with PHP using SimpleXML. But my main concern is that the XML data keeps changing. Secondly, I the XML url is posted online so do you think it's best to read the XML and parse it or it's better to save a local copy and then parse it. So what would be the best way to parse this xml and display the data on my website.
You can see the XML here - http://www.betfair.com/partner/marketDa ... fa=ss&id=4
Thanks
Mick
I am trying to parse XML with PHP using SimpleXML. But my main concern is that the XML data keeps changing. Secondly, I the XML url is posted online so do you think it's best to read the XML and parse it or it's better to save a local copy and then parse it. So what would be the best way to parse this xml and display the data on my website.
You can see the XML here - http://www.betfair.com/partner/marketDa ... fa=ss&id=4
Thanks
Mick