Avatar

Level 3

Here is a snip of my form's XML schema:

   <xsd:complexType name="tableRow">
      <xsd:sequence>
         <xsd:element maxOccurs="unbounded" name="row">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="Group" type="xsd:string"/>
                  <xsd:element name="DocumentName" type="xsd:string"/>

               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
      </xsd:sequence>
   </xsd:complexType>

I want to be able to have multiple rows in XML.  Something along the lines of:

<TableData>

     <row>

          <Group>A</Group>

          <DocumentName>doc1.doc</DocumentName>

     </row>

     <row>

          <Group>B</Group>

          <DocumentName>doc2.doc</DocumentName>

     </row>

</TableData>

The problem I am running into is when I want to assign values into the xfaForm when I am prepopulating the form.  For instance, if I try to add data into .../xdp/datasets/data/Assign/TableData/row/Group it does not appear on the loaded form.  When I do a record and playback on the process I find this getting added into my datadoc:

<TableData><row/></TableData>

Does anyone know how I can add multiple rows?

Any help is greatly appreciated.  Thanks in advance!