<script type="text/javascript">
function loadXMLDoc(dname)
if (window.XMLHttpRequest)
xhttp=new XMLHttpRequest();
xhttp=new ActiveXObject("Microsoft.XMLHTTP");xhttp.open("GET",dname,false);return xhttp.responseXML;
xml=loadXMLDoc("/example/xmle/books.xml");path="/bookstore/book[1]/title";
if (window.ActiveXObject)
var nodes=xml.selectNodes(path);