WebSphere Message Brokers
File: ad10270_
Writer: Terry Cowling

Concept topic

This build: July 31, 2007 21:23:41

Cardinality: optional, repeating and mandatory elements

Elements

The number of occurrences of an element can be controlled using the properties Min Occurs and Max Occurs. Using these properties, an element can be defined as mandatory, optional or repeating.

If a complex type or a group contains two (or more) members which refer to the same global element, the second reference is a duplicate. This is different from a repeating element, because the two references will usually be separated by other members of the type or group. In the input message, the second occurrence will usually not appear immediately after the first occurrence. Duplicate element references are not allowed within types and groups which have compositions of Choice, OrderedSet or UnorderedSet.

Attributes

The number of occurrences of an attribute can be controlled by setting it to required, optional or prohibited.

An attribute is not allowed to repeat, and duplicate attribute references are not allowed within an attribute group.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:23:41

ad10270_ This topic's URL is: