Creating an Input Form from an XML Schema

MSXML 5.0 SDK

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

Creating an Input Form from an XML Schema

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.

See Also

Practical Uses of the SOM