Using the DOM on the Server
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.
Get Special Edition Using XSLT now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.