topical media & game development

talk show tell print

basic-xml-11-MSXMLLoad.htm / htm

    <title>MSXML Load Example</title>
     function showXML(){
     alert("The document element of the document is named: \n" + objXMLDOM.documentElement.nodeName);
  <p>This example tests the <b>load()</b> method.</p>
   <script language="JScript" type="text/javascript">
    try {
     var objXMLDOM = new ActiveXObject("Msxml2.DOMDocument.3.0");
    catch (e)
      document.write("An exception was raised.");
   <br />
   <input type="button" value="Click here to show XML information" onclick="showXML()" />

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.