Quantcast
Channel: jQuery.get(): Trying to retrieve feed, but XML tags are lost - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Anthony Accioly for jQuery.get(): Trying to retrieve feed, but XML tags are lost

$
0
0

Hum... Take a look if your content can't just be wrapped with <![CDATA[ and copied.See this answer (I know, CDATA abuse and everything, but OP don't want to parse the XML at all, just append it directly to the DOM).

Update: What actually worked

Change your call to the get method so it interprets the response as pure text and let JQuery create the DOM Tree for you. Have a look here.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>