Topic: XML to Table
so I am calling a webservice and I get back xml in an array that looks like:
array =
<Table>
<aaa>random date</aaa>
<ccc>random data</ccc>
<ddd>random data</ddd>
</Table>
<Table>
<aaa>random data</aaa>
<bbb>random data</bbb>
<ddd>random data</ddd>
</Table>
...etc
So Array[0] would be the first <Table> to </Table>. Also note that the <aaa><bbb> is not consistent between each array item (some have aaa, bbb, and not ccc).
What I am looking to do is take the <aaa><bbb><ccc><ddd>etc and put them as column headers. Then the "random data" items would appear underneath as rows respectively.
any help would be greatly appreciated...thanks!