Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Element cardinality
Namespace No namespace
Diagram
DiagramDECOR-datatypes_xsd_Attribute_Group_MultiplicityRangeRequired.tmp#MultiplicityRangeRequiredDECOR_xsd_Element_cardinality.tmp#cardinality_conformanceDECOR_xsd_Element_cardinality.tmp#cardinality_isMandatory
Properties
content complex
Attributes
QName Type Use Annotation
conformance ConformanceType optional
isMandatory xs:boolean optional
Default is unspecified which in practice means 'false'.
maximumMultiplicity UnlimitedInteger required
Identifies the maximum number of repetitions of this element that may occur within the containing element.
UML: multiplicity (upper-bound)
minimumMultiplicity SmallNonNegativeInteger required
Identifies the minimum number of repetitions of this element that may occur within the containing element.
UML: multiplicity (lower-bound)
Source
<xs:element name="cardinality">
  <xs:complexType>
    <xs:attributeGroup ref="MultiplicityRangeRequired"/>
    <xs:attribute name="conformance" type="ConformanceType"/>
    <xs:attribute name="isMandatory" type="xs:boolean">
      <xs:annotation>
        <xs:documentation xml:lang="en-US">Default is unspecified which in practice means 'false'.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
Attribute cardinality / @conformance
Namespace No namespace
Type ConformanceType
Type hierarchy
Properties
content simple
Facets
maxLength 50
enumeration R
R required. Implies max != 0, usually implies min > 0. If min > 0 then 'required' is implied unless 'mandatory' is stated.
enumeration C
C conditional. Implies max != 0. Conditions SHALL be stated.
enumeration NP
NP not present. Implies min = 0 and max = 0.
Used by
Element cardinality
Source
<xs:attribute name="conformance" type="ConformanceType"/>
Attribute cardinality / @isMandatory
Namespace No namespace
Annotations
Default is unspecified which in practice means 'false'.
Type xs:boolean
Properties
content simple
Used by
Element cardinality
Source
<xs:attribute name="isMandatory" type="xs:boolean">
  <xs:annotation>
    <xs:documentation xml:lang="en-US">Default is unspecified which in practice means 'false'.</xs:documentation>
  </xs:annotation>
</xs:attribute>