cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue

Former Member
0 Kudos

Hi Experts,

I have a scenario in mapping , appreciate ur ideas on how to acheive it..

source structure

<Header>

<Name>name1</Name>

<Address>add1</Address>

<Name>name2</Name>

<Address>add2_1<Address>

<Address>add2_2<Address>

....

</Header>

target structure

<Header>

<Name>

<name>name1</name>

<Address>add1</Address>

</Name>

<Name>

<name>name2</name>

<Address>add2_1</Address>

<Address>add2_2</Address>

</Name>

....

</Header>

.. can it be done in graphical mapping?

... appreciate ur help

Regards,

Teja

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184681
Active Contributor
0 Kudos

Hi Ravi,

Check the UDF code I suggested in this thread: , your requirement seems identical to the one from that thread.

Regards,

Greg

Former Member
0 Kudos

Hi.

I guess you need a UDF to separate Address element because is repeat in the same level.


Regards

Lucho

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Ravi,

Your structure not consistent and bulding mapping logic for the same realy tricky.

I you are using File content conversion at sender side then change it to genarate below structure.Then you can handle it easily

<Header>

<Name>name1</Name>

<Address>add1</Address>

<Header>

<Name>name2</Name>

<Address>add2_1<Address>

<Address>add2_2<Address>

</Header>