michaellunsford Posted February 11, 2007 Share Posted February 11, 2007 Maybe this is just a rant, but what is the deal with the XML fascination lately? I pass an address to Yahoo's new geocode API and it returns xml. I can't conceive of any possible reason it would need to return a latitude and longitude in xml (thee fields deep). ['ResultSet'] { ['Result'] { ['Latitude'] ['Longitude'] } } Now I have to write a page of code to extract data from an xml document instead of just a simple explode(). Same story with the NOAA (although their case might be more justified). Is it just me, or is this becoming a trend? What ever happened to keep it simple? Quote Link to comment https://forums.phpfreaks.com/topic/38061-xml-oh-the-pain/ Share on other sites More sharing options...
trq Posted February 11, 2007 Share Posted February 11, 2007 What ever happened to keep it simple? Your kidding? XML is simple, and that is exactly the kind of task it was designed for. Are you saying you would rather a comma separated string with absolutely no description of what each field actually means? Quote Link to comment https://forums.phpfreaks.com/topic/38061-xml-oh-the-pain/#findComment-182210 Share on other sites More sharing options...
effigy Posted February 12, 2007 Share Posted February 12, 2007 XML is meant to be verbose. If it wasn't, the benefit of information exchange goes out the window and everyone devolves to passing around specialized instructions. Quote Link to comment https://forums.phpfreaks.com/topic/38061-xml-oh-the-pain/#findComment-182453 Share on other sites More sharing options...
michaellunsford Posted February 12, 2007 Author Share Posted February 12, 2007 I thought passing two variables through a three dimensional XML file was nuts. Maybe I was mistaken. But if I find a single variable XML file, I'm posting again Quote Link to comment https://forums.phpfreaks.com/topic/38061-xml-oh-the-pain/#findComment-182657 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.