i m generating a xml file through jsp file using AJAX.

my response header in jsp file is like this ..

<%@ page contentType = "text/xml;charset = WINDOWS-1252"%>

when i do XmlHttpRequest. responseText the xml content is displayed but when i do the same thing with XmlHttpRequest. responseXML.

what's the problem with XmlHttpRequest. responseXML..
Plz explain XmlHttpRequest. responseXML.....