Views in the XML Schema Editor

The XML Schema Editor has Diagram, Tree, and Documentation tabs. The Diagram tab, which is the default for the XML Schema Editor, is shown in Figure 288.

You can see other Stylus Studio video demonstrations here: http://www.stylusstudio.com/xml_videos.html.

Each tab displays the schema from a unique perspective, as summarized here:

l Diagram - Displays the XML Schema using graphical elements for the nodes (elements, attributes, simpleTypes, complexTypes, and so on) defined in the XML Schema in a diagram pane. Container elements can be expanded to show child elements, and values such as element and attribute names and types can be edited in place by double-clicking the node you want to modify.
In addition to the diagram pane, the Diagram tab includes a text pane. The text pane displays the raw XML text used to define the XML Schema, and lets you see how the changes you make in the diagram affect the XML Schema text. You can make changes in either pane - to a node in the diagram, or directly to the text - Stylus Studio keeps both views synchronized.
l Tree - Displays a DOM tree representation of the XML Schema. You can edit the XML Schema graphically, in the tree itself, or by modifying the properties of the nodes you select.
l Documentation - Displays read-only summary and detailed reference information about the XML Schema, including sections for schema document properties, global declarations, and global definitions.
 
Free Stylus Studio XML Training: