[jQuery] AJAX - Force XML Parsing

[jQuery] AJAX - Force XML Parsing

Hello,
I've been using the AJAX module for Jquery... pretty awesome.
However, I can't access XML data locally due to $.get's method of
resolving what data to get.
$.httpData seems to be the problem
I fixed it to a shorter version:
$.httpData = function(r) {
    return r.responseXML || r.responseText;
}
Another fix that might be useful is an option is to have a way to
permit overriding the mime Type.. or at least override it to be XML so
that XML parsing will be done.
--
Thomas Harning Jr.
Fortune:
Some people say a front-engine car handles best. Some people say a
rear-engine car handles best. I say a rented car handles best.
        -- P.J. O'Rourke
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/