I currently have an electronic form which produces user-inputted data as an XML file. Each field in the form marries up to a field in my MySQL DB.
In my form, I have a table with multiple rows. The XML data looks as below:-
- <Table1>
- <Row1>
<Cell1 xmlns:xfa="
http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup" />
<Cell3>John Smith</Cell3>
<Cell4>22</Cell4>
<Cell5>New Yor</Cell5>
<Cell6>America</Cell6>
</Row1>
- <Row1>
<Cell1 xmlns:xfa="
http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup" />
<Cell3>Paul Jones</Cell3>
<Cell4>35/Cell4>
<Cell5>California</Cell5>
<Cell6>America</Cell6>
</Row1>
</Table1>
The above example gives the XML output for 2 rows in the table in my form. As can be seen though, each row contains different information but the XML output references them both as Row1 (despite one row being Row 1 and the other Row 2).
Any suggestions how I can import the above into MySql so that new entries are created in each table representing each respective row?