Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <script> if (window.XMLHttpRequest) { xhttp=new XMLHttpRequest(); } else // for IE 5/6 { xhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xhttp.open("GET.html","books.xml",false); xhttp.send(); xmlDoc=xhttp.responseXML; document.write("XML document loaded into an XML DOM Object."); </script> </body> <!-- Mirrored from www.w3schools.com/dom/tryit.asp?filename=try_dom_loadxml by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:26:33 GMT --> </html>
Result:
Try it Yourself - © w3schools.com