<script type="text/javascript">
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc=document.implementation.createDocument("","",null);
catch(e) {alert(e.message)}
xmlDoc.load("/example/xdom/books.xml");
document.write("xmlDoc is loaded, ready for use");
catch(e) {alert(e.message)}