Only parse XML if the response looks like XML.
Only parse XML if the response looks like XML.

This solves an issue in IE where parsing also issues an error in the console (XML5619: Incorrect document syntax.)

eligrey/libxdr