Chapter 2 XML Model Basics


Model Items tab

The Items tab of the model property sheet displays the list of global objects (with no parent symbol in the diagram, directly linked to the <schema> tag) created in the model. This list reflects the order in which global objects are being declared in the schema. If you want to change this order of declaration, you must select an item in the list and use the arrowed buttons, at the bottom-left corner of the tab, to move the selected item in the list:

Button Moves item

Top of the list

Up one page

Up one line

Down one line

Down one page

Bottom of the list

You can also use the Items tab to create global objects in the model:

Tool Tooltip Description

Add Element Adds an element to the model

Add Group Adds a group of elements to the model

Add Attribute Adds an attribute to the model

Add Attribute Group Adds a group of attributes to the model

Add Simple Type Adds a simple type to the model. Only available in a model targeted with XSD

Add Complex Type Adds a complex type to the model. Only available in a model targeted with XSD

Add Notation Adds a notation to the model, to describe the format of non-XML data

Add Annotation Adds an annotation to the model, to provide documentation or application information. Only available in a model targeted with XSD

For more information on these items, see chapter Building an XML model.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.