Creating an Input Form from an XML Schema
[This topic discusses a feature was only implemented for MSXML 6.0.]
Creating a form that provided all the restrictions of an XML Schema would be time consuming. Instead, you can use the SOM to programmatically read the XML Schema, and to create HTML or Visual Basic input controls. These controls restrict input, and ensure that no information is entered into the form that will not validate against the XML Schema you used to create the form. The benefits of this form-based approach extend to working with long XML Schemas, or with many dissimilar XML Schemas. An application like this would quickly create the input form. It would also allow for uninterrupted data input when a change occurred in an XML Schema.