Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Instantiate the XML control the way you would any other control on the server. For example, from an Active Server Pages (ASP) page you would use code like the following.
var xObj = Server.CreateObject("Msxml2.DOMDocument.6.0");
Alternatively, a server-side object can be used.
<OBJECT RUNAT="server" PROGID="msxml2.DOMDocument.6.0" id="xObj"> </OBJECT>
The xObj is an empty IXMLDOMDocument/DOMDocument object, ready to build in memory or load from an XML file or XML stream.