Entry
Why does 'responseXML' have no properties?
Oct 17th, 2006 10:42
Mike T, Rafael Barrero,
responseXML will have no value if there is no Content-type set for your
response. The two clear ways around this are (good solution) set the
content type of data streamed from the server (either using a file
extension or sending a content-type header) or (hackish solution) by
using the overrideMimeType() method of your xmlhttp object to force the
mime type to 'text/xml'... this solution seems to not be IE friendly.
Either way, if your xml is malformed you will of course encounter errors.