Skip to Content
0
Former Member
May 03, 2007 at 09:17 AM

Splitting Files into Mulitple Output Files

8 Views

Hi,

I have a File (1) to File (*) scenario.

Both my input and output structures are the same

A typical input XML example would be

<?xml version="1.0" encoding="utf-8"?>

http://kpr.com/sample">

<Item> ( occurence 0....Unbound)

<Name>TestFCC</Name> ( occurence 1 )

<Age>10</Age> ( occurence 1 )

</Item>

</n0:FileInterfaceFCC>

The output structure is the same. My requirement now is that, i would like to have separate files for each difference in <name> </name>.

How can i achieve the same. What mapping principles should I use.

Thanks,

Abhishek