January 2002
Intermediate to advanced
480 pages
11h 5m
English
When the DOM is used on the server side, there are a few steps that are necessary to allow developers to access the properties and methods to be used. The first is to create a new DOM object.
There are two ways you can instantiate the object. The syntax can use the ProgID or the ClassID to create the object. For example,
Set myObject = Server.CreateObject(“ProgID”) Set myObject = Server.CreateObject(“ClassID”)
Both of these statements can be used to create a new DOM object. These statements use ASPs Server object’s createObject() method to create a new DOM instance. The actual ProgID or ClassID depends on the version of the XML parser you are using, as indicated by Table 9.2.