2.3.1.14 Section Control and Optional Section Control

A section or optional section control that is bound to a group that contains no other bound controls MUST have the following complex type XSD definition, assuming that the element name is "group1":

 <xsd:element name="group1">
     <xsd:complexType>
         <xsd:sequence/>
     </xsd:complexType>
 </xsd:element>

A section or optional section control that is bound to a group that contains a textbox control that is not required to contain data, and is bound to an XML element with data type set to "string", and for which no constraining facets have been set, MUST have the following complex type XSD definition:

 <xsd:element name="group1">
     <xsd:complexType>
         <xsd:sequence>
             <xsd:element ref="my:field1" minOccurs="0"/>
         </xsd:sequence>
     </xsd:complexType>
     </xsd:element>
 <xsd:element name="field1" type="xsd:string"/>

The previous definition assumes the element name for the repeating section control is "group1" and the element name for the textbox control is "my:field1".