Working with XMLDocuments in IE sucks.

I never use XML, since JSON is so much nicer. If you want to give it a try,
I've had great success using YQL to convert the XML to JSON.

http://developer.yahoo.com/yql/console/#h=select%20*%20from%20xml%20where%20url%3D%27http%3A//rss.news.yahoo.com/rss/topstories%27

<http://developer.yahoo.com/yql/console/#h=select%20*%20from%20xml%20where%20url%3D%27http%3A//rss.news.yahoo.com/rss/topstories%27>Then
click JSON, and uncheck diagnostics. Bam. XML to JSONP :P


On Fri, Nov 26, 2010 at 1:02 PM, Sanford Whiteman <
[email protected]> wrote:

> > Dude, I haven't tried this so I don't know if something like this
> > works flawless, but why not convert the stuff to json?
>
> If  you  don't  have  control over the XML, obviously converting it to
> JSON is not a valid alternative.
>
> > I rather mess with json than having to do it 2 ways to get it right
> > for different browsers you know.
>
> It's  not  "two  ways."  It's  two  search  string formats with a tiny
> difference.  The kind of switching Moo does everywhere and dirt-simply
> packaged into a class/function.
>
> -- S.
>
>

Reply via email to