Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Global Element

An «XSDtopLevelElement» stereotyped Class acts as a XSD global element. You can create it by dragging the Element icon from the XML Schema Toolbox and dropping it directly onto a diagram.

Toolbox Icon

Access Drag icon onto diagram, or

Project Browser | Double-click on «XSDtopLevelElement» stereotyped Class, or

Diagram | Right-click on «XSDtopLevelElement» stereotyped Class | Properties

Define Properties

Field/Button

Action

See also

Name

If you do not want to use the default name of the global element, overtype it with another name.

Type

Either:

  • Type the name of a data type, or
  • Click on the drop-down arrow and select an XSD built-in dataType from the list, or
  • Click on the button and browse for an existing XSD classifier element, or
  • Select one of these two checkboxes

Nested complexType

Select this checkbox to create an XSDcomplexType as a child of this global element.

Complex Type

Nested simpleType

Select this checkbox to create an XSDsimpleType as a child of this global element.

Simple Type

Value

(Optional) If you have entered an XSD built-in data type in the 'Type' field, type in a value.

Default

Select this radio button to set the Value as a default value.

Fixed

Select this radio button to set the Value as a fixed value.

Annotation

(Optional) Type in any notes you need for this element.

OK

Click on this button to save the element data entered and close the XSD element 'Properties' dialog.

Cancel

Click on this button to discard the element data entered and close the XSD element 'Properties' dialog.

Help

Click on this button to display this Help topic.

UML

This button is displayed when you are editing existing XSD element information.

Click on the button to open the UML element 'Properties' dialog for the global element.

Properties

Notes

  • The fields 'Type', 'Nested complexType' and 'Nested simpleType' are mutually exclusive; selecting one disables the others
  • The fields 'Nested complexType' and 'Nested simpleType' are available in the dialog only when creating a new global element (and not when editing the global element)
  • A Global element:
         -  Cannot contain any UML attributes
         -  Cannot be the source of an Association connector
         -  Can be the target of an Association connector from a Complex Type Class or Group Class element
         -  Cannot be the target of a Generalization connector
         -  Can be the source of one Generalization connector to a Complex Type Class or Simple Type Class

Learn more