Hi,
I'm not exactly sure if this is the correct question to be asked but I will tell you what I am attempting. I have an ASCII txt file with data in it. It does not have headers. I am looking for a way to convert this data into an XML file.
Sample txt file there is no "," or space between datas
5076738D120.03.0351861469-0120.02.2012
5076738D120.03.0352861469-0221.02.2012
and xml file
<?xml version="1.0" encoding="ISO-8859-9"?>
<BANK_VOUCHERS>
<BANK_VOUCHER DBOP="INS" >
<NUMBER>00005671</NUMBER> - constant
<DIVISION>10</DIVISION> - constant
<DEPARMENT>1</DEPARMENT> - constant
<TYPE>3</TYPE> - constant
<NOTES1>23.02.12 GLN HVL </NOTES1> - constant
<CREATED_BY>21</CREATED_BY>- constant
<TRANSACTIONS>
<TRANSACTION>
<BANKACC_CODE>102YKB.010.PH1</BANKACC_CODE> - constant
<ARP_CODE>120.03.0351</ARP_CODE>
<DATE>20.02.2012</DATE>
<MODULENR>861469-01</MODULENR>
<BANK_PROC_TYPE>2</BANK_PROC_TYPE> - constant
<AFFECT_RISK>0</AFFECT_RISK> - constant
</TRANSACTION>
<TRANSACTION>
<BANKACC_CODE>102YKB.010.PH1</BANKACC_CODE> - constant
<ARP_CODE>120.03.0352</ARP_CODE>
<DATE>21.02.2012</DATE>
<MODULENR>861469-02</MODULENR>
<BANK_PROC_TYPE>2</BANK_PROC_TYPE> - constant
<AFFECT_RISK>0</AFFECT_RISK> - constant
</TRANSACTION>
</TRANSACTIONS>
</BANK_VOUCHER>
</BANK_VOUCHERS>