Inferring an XML Schema
Describes how to use the Schema Object Model (SOM) XmlSchemaInference class to infer an XML Schema definition language (XSD) schema from the structure of an XML document.
The Schema Object Model (SOM) XmlSchemaInference class in the System.Xml.Schema namespace allows you to infer an XML Schema definition language (XSD) schema from the structure of an XML document. The XmlSchemaInference class outputs an XML schema that can validate the XML document.
In This Section
Inferring Schemas from XML Documents
Describes how to use the XmlSchemaInference class to infer a schema from the structure of an XML document.
Rules for Inferring Schema Node Types and Structure
Describes how the inference process translates the node types encountered in an XML document into a schema structure.
Rules for Inferring Simple Types
Describes how the XmlSchemaInference class infers the data type for attributes and elements.