This sample application demonstrates how to programmatically create different parts of an XML schema such as element and attribute definitions, simple and complex types, and keys. Simply select a value from the drop-down list on the example page to see the appropriate schema output and the .NET code used to generate the schema.