Sybase XML manual Any general properties, Property Description

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 71
Image 71

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, double-click its symbol in a diagram.

Any general properties

The General page of an Any property sheet displays the following properties:

 

Property

Description

 

 

Stereotype

Sub-classification used to extend the semantics of an object

 

 

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

Page 71
Image 71
Sybase XML manual Any general properties, Property Description