cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File content conversion with nested structure

Former Member
0 Kudos

Hi Guys,

I have the below nested structure and have to convert it using receiver file content conversion.

<Header> [o, unbounded]

<A>a</A>

<B>b</B>

</Header>

<record> [0, unbounded]

<field1>

<X1>x</X1>

<Y1>y</Y1>

</field1>

<field2>

<X2>x</X2>

<Y2>y</Y2>

</field2>

</record>

The file is a comma separated one. Please let me know how to configure the content conversion.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Mukesh

FCC works for a certain level of hierarchy. You can use multiple mappings to finally reach a target structure which will be easily handled by FCC

Share the output you expect for your XML. let us know

Thanks

Gaurav

Former Member
0 Kudos

Thank you guys. I appreciate for sharing your thoughts. I will do some more testing and see how it works.

VijayKonam
Active Contributor
0 Kudos

File receiver adapter only supports same level record sets. It can not convert nested structures. You can use a 2nd mapping to make you target map to fall in sequential structure and then use file receiver adapter content conversion.

VJ

Former Member
0 Kudos

Hi Mukesh,

Have a look at the Shabz's blog for the receiver File content conversion :

Thanks,

Pooja