cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical mapping question

Former Member
0 Kudos

Hi guys,

i need your assistance for the below issue:

input xml

<ROOT>

<G_SN9>

                     <S_N9>

                         <D_128>PM</D_128>

                         <S_MSG>

                             <D_933>COMMENT LINE 1</D_933>

                         </S_MSG>

                     </S_N9>

  </G_SN9>

  <G_SN9>

                     <S_N9>

                         <D_128>PM</D_128>

                         <S_MSG>

                             <D_933>COMMENT LINE 2 </D_933>

                         </S_MSG>

                     </S_N9>

                 </G_SN9>

</ROOT>

Needed Output XML

<ROOT>

<IDENT>PM</IDENT>

<Comments>COMMENT LINE 1 + COMMENT LINE 2 </Comments>

</ROOT>

Thanks in advance

PM

Accepted Solutions (0)

Answers (5)

Answers (5)

nabendu_sen
Active Contributor
0 Kudos

Hi,

Try like below screenshots.:

Former Member
0 Kudos

I am new to PI. Dont mind if i post anything irrelevant.

i would like to know are u duplicating the structure at the TEST side.

smavachee
Active Contributor
0 Kudos

U can duplicate the structure in test run, it is not harmful at all.

Try to implement what has been suggested and check whether you are getting expected output as per your test cases.

Regards,

Sunil

smavachee
Active Contributor
0 Kudos

Use standard function "Concat". Hope I understood it correctly.

Check these standard functions..

Standard Functions

Regards,

Sunil

santosh_k3
Active Participant
0 Kudos

Hi Peter,

can you explain a little bit more what you need.

if you need to configure whole scenario search in SDN for the File scenarios you will find lot of it.

1) if there is no value change then you can directly assign D_128 to IDENT element ,

    else specify what you need.

2) you can use the concat function and assign it to the target element Comments.

Thanks

Sai

Former Member
0 Kudos

Hi,

Didi you try any graphical solution ? Could you share with us what you tried so we can start helping you ?

Best regards,

Guislain.