I have a source XML Document in which some of the elements repeat as below: all part of same root element.
<elem1>
<elem2>
<elem3>
<elem4>
<elem5>
<elem3>
<elem4>
<elem5>
<elem6>
I have a destination schema for a Flat File in the format:
with the map as shown in the right.
Header - ELEM1 / ELEM2 / ELEM3
Detail - ELEM3 /ELEM4 / ELEM5
Trailer - ELEM6
I need an output in a flat file. I am not using any Orchestration. Using send port and receive ports. Send port uses, a custom Send Pipeline with a FLatFile Assembler for the destination schema.
We have multiple records for Elem3 - Elem4 - Elem5 values. But, the output has only one record.
Anyone seen this before? Am I missing anything in the Map?
Do I need to include any Loopin functiods?
Would appreciate any help!
Thanks!
<elem1>
<elem2>
<elem3>
<elem4>
<elem5>
<elem3>
<elem4>
<elem5>
<elem6>
I have a destination schema for a Flat File in the format:
with the map as shown in the right.
Header - ELEM1 / ELEM2 / ELEM3
Detail - ELEM3 /ELEM4 / ELEM5
Trailer - ELEM6
I need an output in a flat file. I am not using any Orchestration. Using send port and receive ports. Send port uses, a custom Send Pipeline with a FLatFile Assembler for the destination schema.
We have multiple records for Elem3 - Elem4 - Elem5 values. But, the output has only one record.
Anyone seen this before? Am I missing anything in the Map?
Do I need to include any Loopin functiods?
Would appreciate any help!
Thanks!