Microsoft XML 2.5 SDK


 

Instantiating the XML Control

[This is preliminary documentation and subject to change.]

Installing Microsoft® Internet Explorer 5 on the server also installs the MSXML.DLL, which contains all the components of the XML engine, including the Microsoft XML parser, the XSL processor, schema support, and so on.

Instantiate the XML control the way you would any other control on the server. For example, from an ASP page you would use code such as:

var xObj = Server.CreateObject("Microsoft.XMLDOM");

Alternatively, a server-side object could be used:

<OBJECT RUNAT="server" PROGID='Microsoft.XMLDOM" id="xObj"> </OBJECT>

The "xObj" is an empty XMLDOMDocument object, ready for you to build in memory or load from an XML file or an XML stream.