The XML schema specification defines a large number of components such as complex types, simple types, groups, annotations, elements, attributes, and so on. To create a valid schema, you must understand the relationships between these components. For example, the <include>, <import> or <redefine> elements must appear before any other children of the schema element. An attribute can be added to a complex type, but not a simple type. There are many other relationships.
The XML schema editor removes the burden of remembering all these details. You can use the editor's Design view to add all of your schema components.
