Walk the SOM (Visual Basic)
[This sample application uses features that were nly implemented in MSXML 6.0.]
This Microsoft Visual Basic 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.