Skip to Content
0
Former Member
Oct 22, 2009 at 07:01 AM

Context problem

15 Views

Hi.

I have a small context problem that i can't solve.

The source structure looks as follow:

<headersource>
   <sourcesegment1>   1...1
      <sourcefield1>       1...1
   </sourcesegment1>
   <sourcesegment2>   1...unbounded
      <sourcefield2>       1...1
   </sourcesegment2>
</headersource>

target structure

<headertarget>
   <targetsegment>        1...unbounded
      <targetfield1>          1...1
      <targetfield2>          1...1
   </targetsegment>
<headertarget>

I want to map

sourcefield2 -> targetfield1

sourcefield1 -> targetfield2

In my mapping the targetfield1 gets populated for every segment but my targetfield2 only get populated in my first targetsegment.

How can I solve it so targetfield2 get populated for every targetsegment created?

BR

Kalle