11-11-22 09:18 AM
Hi, I'd like to convert a flat collection like this:
First_Name Last_Name Age
John Smith 78
Lisa McDonald 24
into XML like this:
<root>
<person>
<First_Name>John</First_Name>
<Last_Name>Smith</Last_Name>
<Age>78</Age>
</person>
<person>
<First_Name>Lisa</First_Name>
<Last_Name>McDonald</Last_Name>
<Age>24</Age>
</person>
</root>
Indentation is not a must but any extra attributes (eg. from serialization) are not desired.11-11-22 10:16 AM