Skip to Content
0
Former Member
Jan 09, 2012 at 12:41 PM

Receiver file content conversion

18 Views

Hi ,

I am performing source proxy to file scenario . Source is XML and target is flat file structure however facing issue in generating target structure using content conversion . My header and trailer is some hard coded value and employee and addr need to be repeated multiple time .

Target Str is .

MT_Target

<Recordset> (0 to 1)

<Header> ( 1)

</ Header>

<Employee> ( 1 to unbounded)

</Employee>

<addr> (1 to unbounded)

</addr>

<Trailer>

</Trailer>

I am achieving this req but getting output as Header

Emp1

Emp2

Addr1

Addr2

Trailer

but want output like :

Header

Emp1

Addr1

Emp2

Addr2

Trailer

In case I make recordset to multiple and map my source str to Records then Header is also getting repeated and getting output as

Header

Emp1

Addr1

Trailer

Header

Emp2

Addr2

Trailer

but in my actual output I want header and trailer only once .

Regards,

Saurabh