Hello Everyone,
I am trying to convert an xml file that looks like this:
<fields>
<Table1>
<Name>Company01</Name>
<Name>Company02</Name>
<Name>Company03</Name>
....
<Name>Company_n</Name>
</Table1>
<Table2>
<Category>A</Category>
<Category>B</Category>
<Category>A</Category>
....
<Category>B</Category>
</Table2>
</fields>
into something like this:
<fields>
<Table>
<Name>Company01</Name>
<Category>A</Category>
<Name>Company02</Name>
<Category>B</Category>
<Name>Company03</Name>
<Category>A</Category>
......
<Name>Company_n</Name>
<Category>B</Category>
</Table>
</fields>
Each line in <Table1> corresponds to the line with the same number in <Table2>, i.e. first <Name> corresponds to the first <Category>, etc...
Any ideas?
Thanks in advance
Memo
I am trying to convert an xml file that looks like this:
<fields>
<Table1>
<Name>Company01</Name>
<Name>Company02</Name>
<Name>Company03</Name>
....
<Name>Company_n</Name>
</Table1>
<Table2>
<Category>A</Category>
<Category>B</Category>
<Category>A</Category>
....
<Category>B</Category>
</Table2>
</fields>
into something like this:
<fields>
<Table>
<Name>Company01</Name>
<Category>A</Category>
<Name>Company02</Name>
<Category>B</Category>
<Name>Company03</Name>
<Category>A</Category>
......
<Name>Company_n</Name>
<Category>B</Category>
</Table>
</fields>
Each line in <Table1> corresponds to the line with the same number in <Table2>, i.e. first <Name> corresponds to the first <Category>, etc...
Any ideas?
Thanks in advance
Memo