<!DOCTYPE html>if (window.XMLHttpRequest){xhttp=new XMLHttpRequest();}else // for IE 5/6{xhttp=new ActiveXObject("Microsoft.XMLHTTP");}xhttp.open("GET","/statics/demosource/books.xml",false);xhttp.send();xmlDoc=xhttp.responseXML;document.write("XML document loaded into an XML DOM Object.");