Is there an existing tool for jsonp like fetching of xml in jquery?

Posted by BearCode on Stack Overflow See other posts from Stack Overflow or by BearCode
Published on 2010-04-19T21:43:44Z Indexed on 2010/04/19 21:53 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

Hi,
For a web service I'm developing I would like my embedded code (on the client's site) to fetch an xml file from my sever script which resides on my domain.

As this is a cross-domain request I figured to use jsonp as it seems the de facto standard for such apis. However, for my application it would be easier for me to use xml instead of json. Now, I could of course convert my xml to json on the server and then back again to xml in the client's site javascript, but that seems unnecessarily cumbersome. What I really need is and xmlp solution, xml with padding.

I tired googling but couldn't find a jquery plug-in that does that. Anyone knows a simple solution?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jsonp