XmlHttp.CN
XMLHTTP瀵硅薄鍙傝?/div>
XMLHTTPRequest 瀵硅薄 XMLHTTPRequest 鎴愬憳 onreadystatechange readyState responseBody responseStream responseText responseXML status statusText abort getAllResponseHeaders getResponseHeader open send setRequestHeader

responseXML

灏嗗搷搴斾俊鎭牸寮忓寲涓篨ml Document瀵硅薄骞惰繑鍥?/p>

璇硶

var objDispatch = oXMLHttpRequest.responseXML;

Example

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlhttp.open("GET", "http://localhost/books.xml", false);
xmlhttp.send();
alert(xmlhttp.responseXML.xml);

澶囨敞

鍙橀噺锛屾灞炴у彧璇伙紝灏嗗搷搴斾俊鎭牸寮忓寲涓篨ml Document瀵硅薄骞惰繑鍥炪傚鏋滃搷搴旀暟鎹笉鏄湁鏁堢殑XML鏂囨。锛屾灞炴ф湰韬笉杩斿洖XMLDOMParseError锛屽彲浠ラ氳繃澶勭悊杩囩殑DOMDocument瀵硅薄鑾峰彇閿欒淇℃伅銆?

鍙傝?/h2>

responseBody 灞炴?/a>
responseStream 灞炴?/a>
responseText 灞炴?/a>