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

Local Element

The Element icon from the XML Schema Toolbox creates an XSDelement stereotyped UML Attribute, which acts as a local XSD element, when dropped on a XSDcomplexType and XSDgroup stereotyped classes.

XSD Properties:          Project Browser: double-click on the XSDelement stereotyped Class
                 Diagram: double-click on the XSDelement stereotyped Class

Reference

Field/Button

Usage

See also

Name

Specify the name for this local element.

 

 

Type

Specify either an XSD built-in dataType or complexType or simpleType.

Complex Type

Simple Type

Reference

Specify whether to use the ref attribute ( instead of the type attribute ) to refer to the complexType or simpleType selected in the Type field in the generated XSD ( Optional ).

 

 

Value

If Type is an XSD built-in type then optionally specify its value.

Option

Usage

Default

Specifies Value as default value.

 

Fixed

Specifies Value as fixed.

 

 

 

MinOccurs

Specify the minimum number of times this element occurs in the Class ( Optional ).

 

 

MaxOccurs

Specify the maximum number of times this element occurs in the Class ( Optional ).

 

Form

Specify whether to qualify the element ( Optional ):

Option

Usage

qualified

Use the Prefix supplied on the Schema package to qualify this element.

 

unqualified

Do not qualify this element.

 

 

 

 

Schema Package

Annotation

Specify the notes for this local element ( Optional ).

 

 

OK

Save the values entered and close the dialog.

 

 

Cancel

Discard the values entered and close the dialog.

 

 

Help

Display this Help topic.

 

 

UML

Open the UML Properties dialog.

This button is available when editing the local element.

 

General Properties of Attributes

Notes

Only Complex Types, Groups and Model Groups can have this UML Attribute