Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Developer's Guide

Output

When you run the InstantiateDOM project, you should get the following output:

dom1: <a>A</a>
dom2: <b>B</b>

The next tutorial shows how to load an XML file into an XML DOM object.