Jump to content

xml -- oh the pain


michaellunsford

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/38061-xml-oh-the-pain/
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.