I'm fairly new to AJAX and having trouble with responseXML. My Javascript opens an HTTP request which calls an ASP.NET page. This page has been configured to return valid XML using .NET's XmlTextWriter class, but the result only seems to be available to the AJAX script as the responseText of the HttpRequest rather than the responseXML. It looks to me that to return an XML document in the responseXML then the file that is requested must have an XML extension. Am I right? If so, is there any other way to obtain a dynamically generated XML document with AJAX? Failing this, is there a way to convert the responseText to XML?