I have a csv file which contains this data:
person1,person2,person3
first,john,steve,mike
last,doe,whinney,speirs
I want to create an xml file which looks like this:
<root>
<person1>
<first>
john
</first>
<last>
doe
</last>
</person1>
<person2>
<first>
steve
</first>
<last>
whinney
</last>
</person2>
<person3>
<first>
mike
</first>
<last>
speirs
</last>
</person3>
</root>
Thanks