Skip to Content
0
Feb 28, 2019 at 12:33 PM

Creating node fixed number of times in mapping

77 Views

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