Locate Declarations
[This sample code uses features that were first implemented in MSXML 6.0.]
This sample application goes through an XML Schema and prints selected declarations 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 IXMLDOMSchemaCollection2 interface. The interfaces of the SOM are used to retrieve information about the declarations used in this sample. Formatting functions and methods are present throughout the application, but are used solely for text output and can be ignored for functionality of the SOM interfaces.
This topic is divided into the following sections.