group

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:QName optional
pass-through restriction of xs:NMTOKEN inherit optional
recognize-cdata restriction of xs:NMTOKEN inherit optional
strip-space restriction of xs:NMTOKEN inherit optional

Used By

Element Group group-content

Source

<xs:element name="group">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="group-content"/>
    </xs:choice>
    <xs:attribute name="name" type="xs:QName" use="optional"/>
    <xs:attribute name="pass-through" use="optional" default="inherit">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="none"/>
          <xs:enumeration value="all"/>
          <xs:enumeration value="text"/>
          <xs:enumeration value="inherit"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="recognize-cdata" use="optional" default="inherit">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="none"/>
          <xs:enumeration value="all"/>
          <xs:enumeration value="text"/>
          <xs:enumeration value="inherit"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="strip-space" use="optional" default="inherit">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="yes"/>
          <xs:enumeration value="no"/>
          <xs:enumeration value="inherit"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample