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

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?

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.