Click to return to the XML (Extensible Markup Language) home page    
Using XML on the Server     Choosing a Threading Mode...     Using XML on the Server    
Web Workshop  |  XML (Extensible Markup Language)

Instantiating the XML Control


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.