BACK

Week 5 - MSXML - Martha's COIN 78b

CODES

Loading an XML Document

  1. Instantiate the XML parser using the ActiveXObject() function
    xmldoc = new;
    ActiveXObject("Microsoft.XMLDOM");
  2. Set the async property on the object to false to ensure that the XML document is fully loaded before proceeding.
    xmldoc.async = false;
  3. Load a specific XML document.
  4. xmldoc.load("path/some.xml");

Transforming an XML Document with XSLT Stylesheet

output = xmldoc.transformNode(xsltstyle);

Writing Output to a Page

Using DOM Methods