cancel
Showing results for 
Search instead for 
Did you mean: 

message mapping query

former_member183906
Active Contributor
0 Kudos

hi,

how it can be achieved using graphical mapping ? pls advise.

i am giving example of messages :

src1,src2 is an element and name is an attribute. source input xml is as follows :

<src1 name="test1">TOI</src1>

<src1 name="scope">scopeofwork</src1>

<src2> <paper>NDTV</paper></src2>

the output shud  come like this. tar1 is an element and name is an attribute.

target xml is as follows :

<tar1 name="A">TOINDTV</tar1>

<tar1 name="B">othervalue1</tar1>

<tar1 name="C">othervalue1</tar1>

how it can be achieved using graphical mapping ? pls advise.

regards

Accepted Solutions (0)

Answers (3)

Answers (3)

ambrish_mishra
Active Contributor
0 Kudos

Hi,

Please state your requirement clearly with a better test case. Is the requirement to add <src1> and <paper> based on attribute ?

Ambrish

former_member190624
Active Contributor
0 Kudos

Hi,

You can use contact function i.e.

<src1 name="test1"> + <paper> = <tar1 name="A">.

Please correct me know if get you requirement wrongly

Regards

Hari.

gagandeep_batra
Active Contributor
0 Kudos

You can go for udf  and achive this,

Regads

Gagan