Skip to Content
avatar image
Former Member

nested xml to flat file conversion

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers