Hi,
I have a select query like this
Select value,key from table;
value key
a 101
b 102
a 103
a 104
I need to have xml like this
<AvailableField s>
<Table Name="table1">
<Type Name="a">
<Fields Key="101" />
<Fields Key="103" />
<Fields Key="104" />
</Type>
<Type Name="b">
<Fields Key="103" />
</Type>
</Table>
</AvailableFields >
I have a select query like this
Select value,key from table;
value key
a 101
b 102
a 103
a 104
I need to have xml like this
<AvailableField s>
<Table Name="table1">
<Type Name="a">
<Fields Key="101" />
<Fields Key="103" />
<Fields Key="104" />
</Type>
<Type Name="b">
<Fields Key="103" />
</Type>
</Table>
</AvailableFields >
Comment