Selecting an XML schema view

You can use two views to edit an XML schema file, Simplified view or Detailed view. Use the Simplified view if you are new to XML schemas. Use the Detailed view if you are familiar with XML schemas and their more complicated constructs (for example, groups, choices, attribute references, and directives).

Designing your XML schema in the Simplified view

The Simplified view hides many of the complicated XML schema constructs so you can create XML data structures that conform to best practice authoring patterns. A complex type is shown as a named box with a flat list of fields. Complicated constructs such as choices, sequences, groups, and element references are not displayed in the Simplified view and actions in the editor that enable the creation of these constructs are not available. When you open an XML schema file in the editor, the default view is the Simplified view.

XML schema editor Simplified view

In this view, only elements and types are visible.

Designing your XML schema in the Detailed view

The Detailed view exposes the full set of XML schema constructs so you can create XML data structures using any authoring pattern. The Detailed view also exposes all of the grouping constructs such as sequences and choices as a tree view, where the attribute and element constructs are leaves of the tree. In this view, you can create any XML schema construct in the editor. When you open an XML schema file, select Detailed from the View list in the top right corner of the editor.

XML schema editor Detailed view

In this view, the full set of XML schema constructs are visible.


Feedback