cancel
Showing results for 
Search instead for 
Did you mean: 

Creating node fixed number of times in mapping

mohammadaamir_khan
Participant
0 Kudos

Hi,

I have to map header data fields to multiple occurrences of target field.

My input structure is

<Input>
<material>500234</material>
<site>800</site>
</Input>

Desired output is

<Identification>
<IdentificationValue>500234</IdentificationValue>
<IdentificationType>TAG_1</IdentificationType>
</Identification>
<Identification>
<IdentificationValue>800</IdentificationValue>
<IdentificationType>TAG_2</IdentificationType>
</Identification>

Here TAG_1 and TAG_2 are constant.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Mohammad!

If you have the constant count of source nodes (two in your case) - you may set occurence to "0..unbounded" for target node and in graphical mapping editor simply make a copy of the desired target node (using right-click, for example). After that you can link each of your source elements to its own target node copy.

Regards, Evgeniy.

Answers (0)