XML Schema Generator

The XML Schema generator demonstrates how different classes within the System.Xml.Schema namespace can be used to create an XML schema document from scratch. Although the generator provides nice features such as controlling the type of output generated (Russian Doll style or Separate Complex Types), detecting basic data types, handling recurring elements, etc. it is by no means as full-featured as schema features found in the DataSet class. For example, it does not currently handle namespaces in the XML document and does not deal with optional elements or attributes (to list a few of its deficiencies). After generating your schema you may need to perform minor modifications to use it to validate your XML document.

If you modify the code I would appreciate seeing your modifications so that I can post them to the XML for ASP.NET Developers Website.

Enter the XML Document Below (or enter the URL for an XML document):

© 2002 Dan Wahlin