2.3.1.12 Repeating Table Control

A repeating table control that is bound to a repeating group that contains three textbox controls that are not required to contain data, and are bound to XML elements 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:group2" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
     </xsd:complexType>
 </xsd:element>
     <xsd:element name="group2">
         <xsd:complexType>
             <xsd:sequence>
                 <xsd:element ref="my:field1" minOccurs="0"/>
                 <xsd:element ref="my:field2" minOccurs="0"/>
                 <xsd:element ref="my:field3" minOccurs="0"/>
             </xsd:sequence>
     </xsd:complexType>
 </xsd:element>
 <xsd:element name="field1" type="xsd:string"/>
 <xsd:element name="field2" type="xsd:string"/>
 <xsd:element name="field3" type="xsd:string"/>

The previous definition assumes that the element name for the repeating table control is "group1", the repeating group name is "group2", and the element names for the textbox controls are "field1", "field2", and "field3".