Local Attribute

The Attribute icon from the XML Schema Toolbox creates an XSDattribute stereotyped UML Attribute, which acts as a local XSD attribute, when dropped on a XSDcomplexType and XSDattributeGroup stereotyped classes.

XSD Properties:

Double-click on the XSDattribute stereotyped UML Attribute in the diagram or the Project Browser

Reference:

Field/Button

Usage

See Also

Name

Specify the name for this local attribute

 

Type

Specify either an XSD built-in dataType or simpleType

Simple Type

Reference

Specify whether to use ref attribute ( instead of type attribute ) to refer to the 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 ( Optional )

Option

Usage

Default

Specifies Value as default value

Fixed

Specifies Value as fixed

 

Form

Specify whether to qualify the attribute ( Optional )

Option

Usage

qualified

Use the Prefix supplied on the Schema package to qualify this attribute

unqualified

Do not qualify this attribute

 

 

Schema Package

Annotation

Specify the notes for this local attribute ( 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 attribute.

Properties

Notes:

  • Only Complex Types and Attribute Groups can have this UML Attribute