Hi all,
I have a mapping issue, not able to generate the correct targer structure using the source structure. Any help would be appreciated.
My source structure is as below
Source(1.1)
Header1(1.1)
Item(0.9999)
Header2(0.999)
And my target structure
Target(1.1)
tHeader(0.9999)
tItem(0.9999)
I want as many tHeader as item hence I mapped item -> tHeader
I want as many tItem as Header2 and since Header2 is one level above item I mapped Header2->copyvalue->titem
tHeader segment is coming through correctly but under this titem is not repeating for every Header2.
For e.g source structure is below
<Source>
<Header1>
<item>item1</<item>
<item>item2</item>
</Header1>
<Header2>h1</Header2>
<Header2>h2</Header>
</Source>
I expect my target structure to be
<Target>
<tHeader>item1
<titem>h1<titem>
<titem>h2<titem>
</tHeader>
<tHeader>item2
<titem>h1<titem>
<titem>h2<titem>
</tHeader>
</Target>
I want the all the occurence of Header2 to be repeated for titem under all tHeader
Instead only first Header2 is copied across all the tHeader. How can I achieve the above?