Prev Next

Any Attribute

The «XSDany» stereotyped UML attribute allows a Complex Type element or an Attribute Group element to contain attributes that are not specified in the Schema Package. You can create it by dragging the Any Attribute icon from the XML Schema Toolbox and dropping it onto an «XSDcomplexType» or «XSDattributeGroup» stereotyped Class.

Toolbox Icon

Access

To display the 'XSD anyAttribute Properties' dialog for the selected «XSDany» stereotyped UML attribute, use one of the methods outlined here.

Ribbon

With a specific «XSDany» stereotyped UML attribute selected on a diagram:

Design > Element > Features > Attributes

Context Menu

With a specific «XSDany» stereotyped UML attribute selected on a diagram:

Right-click on attribute | View Properties

Keyboard Shortcuts

With a specific «XSDany» stereotyped UML attribute selected on a diagram:

F9

Other

Double-click on the «XSDany» stereotyped UML attribute, or

Drag icon from the Toolbox and drop it onto an «XSDcomplexType» or «XSDattributeGroup» stereotyped Class (this creates a new «XSDany» stereotyped UML attribute)

Define Properties

Field/Button

Action

See also

Name

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

Namespace

(Optional) Type the namespace to contain the attributes that can be used in the Complex Type or Attribute Group elements.

Complex Type Attribute Group

ProcessContents

(Optional) Click on the drop-down arrow and select the value that defines how the XML Parser should validate these attributes:

  • lax - to attempt to validate the attributes against their Schema; no error is flagged when the Schema cannot be obtained
  • skip - to skip validating the attributes
  • strict - to validate the attributes against their Schema and flag an error if the Schema is unobtainable

Annotation

(Optional) Type any notes you need for this attribute.

OK

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

Cancel

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

Help

Click on this button to display this Help topic.

UML

This button is displayed when you are editing existing «XSDany» attribute information.

Click on the button to open the attribute properties for the «XSDany» attribute.

Create and Manage Attributes

Notes

  • Only Complex Type and Attribute Group elements can have this UML attribute

Learn more