var text = $(xml).html();
He works in chrome
EDIT : let xml be a text file, not an XML file, because jquery will treat it as a new html element. (e.g. document.createElement ())
var text = $("<xmldoc> <first><node></node></first> </xmldoc>").html();
Or am I assuming you get it from an ajax call? Then don't set dataType to xml (jQuery) or use XHR.responseText
you get only text, and text can be easily parsed using jQuery.
source share