Hi ,
i need to convert .csv file into xml . File structure of .csv file is like this.
Header - field1, field 2, field3, field4, field5, field6,field7,field8,field8,field8, field9,field10
Line1 - Lineitem-field1,Lienitemfield2(field8), Lineitem-field3,Lienitemfield4, Lineitem-field5,Lienitemfield6
Line 2 - Lineitem-field1,Lienitemfield2(field8), Lineitem-field3,Lienitemfield4, Lineitem-field5,Lienitemfield6
Line3 - Lineitem-field1,Lienitemfield2(field8), Lineitem-field3,Lienitemfield4, Lineitem-field5,Lienitemfield6
Trailer - Trailer-fiield.
Here you can see that in Header - Field8 is coming multiple times and on the basis of the occurrence this field, line items rows are created 3 times.
and field8 is also coming as Lienitemfield2 in Lines.
This recordset can have multiple records of Header,1,Line*,Trailer ,1.
<Recordset> 1..unbounded
< Header> 1..1
<Line> 1..unbounded
<Trailer> 1..1
My question is if this requirement can be handle in FCC or i need to handle this using UDF / java mapping.
Please suggest.
Regards,
RB