Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Properties | Schema Component Properties | Choice Content Model
 
Choice Content Model
A choice content model specifies that only one of the child elements in the content model can appear in the instance document. This symbol corresponds to the <choice> compositor in an XML Schema definition or a choice list in a DTD element type declaration.
If one of the child elements does not appear or more than one child element appears, the instance document is not schema-valid. (An exception to this is when the minOccurs attribute for the <choice> element is set to 0. If minOccurs=0, Integration Server does not generate a validation error if no child element appears.)
This field...
Specifies...
Min Occurs
The minimum number of occurrences of the content model for an element in the instance document. The value of Min Occurs is equal to the value of the minOccurs attribute in the <choice> content model
Max Occurs
The maximum number of occurrences of the content model for an element in the instance document. The value of Max Occurs is equal to the value of the maxOccurs attribute in the <choice> content model.
Summary of Children
The name and occurrence constraints for the child elements in the content model.
*Name. The name of the child element.
*Min, Max. The minimum and maximum occurrence constraints for the child element. The Min and Max values correspond to the minOccurs and maxOccurs attributes (respectively) in the local element declaration.