Hi,
Unfortunately you can't import this xml file using the XML Import-Export package.
The XML file must have one of the following two formats:
Data as nodes (corresponding to Import field as nodes):
<?xml version="1.0" encoding="[encoding]"?>
<[root node]> // this is the root node and can have any name you want
<[row]> // this is the node that will contain all data that need to be imported for one row, again can have any name that you want
<[field1]>[field1 value]</[field1]>
<[field2]>[field2 value]</[field2]>
............. (more fields)
<[field_n]>[field_n value]</[field_n]>
</[row]>
.......... (more rows)
</[root node]>
- field1 to field_n are the names of the fields that need to be inserted, this fields must correspond (have the same names) with the fields from the table in which the data need to be inserted (the order its not important)
Data as attributes format its pretty much the same thing like the data as nodes, the differences its that the fields are specified as attributes instead as nodes, see below an example:
<?xml version="1.0" encoding="[encoding]"?>
<[root node]> // this is the root node and can have any name you want
<[row] [field1]="[field1 value]" ... [field_n]="[field_n value]" />
... more rows
</[root node]>
I think you can adapt your xml format to match one of supported formats. If so you can easily import and export your data.
Regards,
Marius.