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

AnyAttribute_Icon

Access     Drag icon onto «XSDcomplexType» or «XSDattributeGroup» stereotyped Class, or
Project Browser | Double-click on «XSDany» stereotyped attribute, or
Diagram | Highlight element | Highlight «XSDany» stereotyped attribute | double-click on 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 UML attribute Properties dialog for the «XSDany» attribute.

 

General Properties of Attributes

Notes

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

Learn more

Any