This object handles all the repetitive and sometimes cumbersome operations necessary when developing with XML and XSLT.
For example, when you want to write the output of a transformation to the client, you'll need to do something like this:
MSXML2.DOMDocument
(or other XMLParser Objects available).Usually looks something like this:
<% var oXML = Server.CreateObject("MSXML2.DOMDocument"); var oXSL = Server.CreateObject("MSXML2.DOMDocument"); oXML.async = false; oXSL.async = false; oXML.load(Server.MapPath("links.xml")); oXSL.load(Server.MapPath("transform.xsl")); var oHTML = oXML.transformNode(oXSL); Response.Write(oHTML); %>
When using XMLObject() all of this is handled automatically, but there's more: