
Chapter 2 Building an XML model
♦Generated XSD file:
In an XSD file, Any is declared with the <any> tag.
♦Generated DTD file:
In a DTD file, Any is declared within an <!ELEMENT> tag with the keyword “ANY”.
♦Generated XDR file:
In an XDR file, Any is declared through of an <ElementType> tag (resources in the example) with its model attribute set to “open”. Although it appears in a diagram, Any is not considered as an object in an XDR file.
To display an Any property sheet,
Any general properties
The General page of an Any property sheet displays the following properties:
| Property | Description |
|
| Stereotype | ||
|
| without changing its structure. It can be predefined or user- | |
|
| defined | |
| Minimum | Minimum number of times the Any can occur. To specify that | |
|
| the Any is optional, set this attribute to zero | |
| Maximum | Maximum number of times the Any can occur. For an | |
|
| unlimited number of times, select unbounded | |
|
| ||
XSM User's Guide | 59 |