How to create the beanio xml which has combination of fixedlength and delimited records?

20 views
Skip to first unread message

Ayan Chandra

unread,
Aug 15, 2019, 1:50:40 PM8/15/19
to beanio-users
Hello Team,

I have a file which contains employee data. Few of the attribute is fixedlength, then an attribute which is delimited and again some fixed length records. Could you please help how the xml structure will be?

Data: 
Xavier Carta11210HR^DRK10000
Nicky Boje   11211TECH^FIN10100
Alex Parker 11212FINANCE^XYZ10110


Record Structure

record
String(12) EmpName;
Decimal(5) EmpId;
String("^") Dept;
String(3) Auth;
String(5) AccessCode
end.

Could you please help me how the beanio xml would be?

Thanks in Advance.
Ayan
 
Reply all
Reply to author
Forward
0 new messages