An «XSDany» stereotyped Class allows a Complex Type Class to contain elements that are not specified in the Schema Package. You can create it by dragging the Any icon from the XML Schema Toolbox and dropping it directly onto a diagram.

Toolbox Icon


Access     Drag icon onto diagram, or
Project Browser | Double-click on «XSDany» stereotyped element, or
Diagram | right-click on «XSDany» stereotyped element | Properties

Define Properties



See also


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




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


Complex Type


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

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




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




Click on this button to save the Any element data entered and close the XSD any Properties dialog.




Click on this button to discard the Any element data entered and close the XSD group Properties dialog.




Click on this button to display this Help topic.




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

Click on the button to open the UML element Properties dialog for the Any Class.




·An Any Class:
·Cannot contain any UML Attributes or child XSD Classes
·Cannot be the child of any XSD Class
·Cannot be the target of a Generalization connector
·Cannot be the source of an Association or Generalization connector
·Can be the target of Association connectors from Complex Types, Groups and Model Groups
·Must be the target of at least one incoming Association connector

Learn more