xs:group

Element Information

Model

Children: xs:annotation

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
maxOccurs xs:nonNegativeInteger 1 optional
minOccurs xs:nonNegativeInteger 1 optional
ref xs:QName required

Source

<xs:element name="group">
  <xs:complexType>
    <xs:complexContent>
      <xs:restriction base="xs:groupRef">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="minOccurs" fixed="1" type="xs:nonNegativeInteger"/>
        <xs:attribute name="maxOccurs" fixed="1" type="xs:nonNegativeInteger"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample