Walk the SOM

MSXML 5.0 SDK

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

Walk the SOM

This sample application walks through an XML Schema and prints selected parts in a tab-structured format. The DOM Schema Cache is used to store the XML Schema. The schema object is obtained by the getSchema method of the SchemaCollection2 interface. The interfaces of the SOM are then used to walk through the items in the XML Schema. Formatting functions and methods are present throughout the application, but they are used solely for text output. They can therefore be ignored for functionality of the SOM interfaces.

This topic is divided into the following sections.