I have a delimited file like this.
Name;ID;Type
ABC;1;Blue
PQR;2;Black
I am trying to make a flat file schema for the above data. But I am not able to find a way to make the XML tags match the headers.
the XML file it is creating is
<Root>
<Root_Child1>Root_Child</Root_Child1>
<Root_Child2>Root_Child</Root_Child2>
<Root_Child3>Root_Child</Root_Child3>
</Root>
What I want is something like this
<Root>
<Name>Root_Child</Name>
<ID>Root_Child</ID>
<Type>Root_Child</Type>
</Root>
I have 55 headers and it is a tedious job to manually change the XSD file . Is there an easier way to achieve this?