Skip to Content
0

nested xml to flat file conversion

Jan 23 at 02:30 PM

12

avatar image
Former Member

Hi PO experts,

We have the scenario of converting nested xml (having 5 level hierarchy) to flat file. I am using Module AF_Modules/StrictXml2PlainBean for this conversion. When the xml file is directly passed to receiver adapter module, its throwing an error as deeply nestedstructure cannot be transformed. Is there any way converting into flat file using this module with having 5 levels or please suggest on how to change the level of hierarchies 5 to 3 without using mapping.

<Document>

<Record>

<Header> 1..unb

<ABC>

<Name>XXX</Name>

<City>XXX</City>

</ABC>

</Header>

</Record>

</Document>

should be:-

<Document>

<ABC>

<Name>XXX</Name>

<City>XXX</City>

</ABC>

</Document>

Thanks,
Gopi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers