Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

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

Toolbox Icon

Access

To display the 'XSD element Properties' dialog for the selected «XSDtopLevelElement» stereotyped Class, use one of the methods outlined here.

Ribbon

Design > Element > Editors > Properties

Context Menu

Right-click on «XSDtopLevelElement» stereotyped Class | Properties

Keyboard Shortcuts

Alt+Enter

Other

In Browser window, double-click on «XSDtopLevelElement» stereotyped Class, or

Drag Toolbox Icon icon from toolbox onto diagram (this creates a new «XSDtopLevelElement» stereotyped Class)

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 Browse. 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 Dialog

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