cancel
Showing results for 
Search instead for 
Did you mean: 

Remove target structure element

Former Member
0 Kudos

Dear All,

I have a requirement where it is from source structure to target structure in message mapping. The source structure and target structure is different. I want remove below element using UDF I mark as red in target structure.

Would you please give some advice about the issue? Thank you for your great support.

Many thanks & best regards,

Hubery

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190293
Active Contributor
0 Kudos

Hi Hubery!

If target message type is created in ESR, why not to change its definition?

If you need to remove the root node of your xml structure, the easiest way, I guess, is to use XSL transformation next to your graphical mapping.

Regards, Evgeniy.

Former Member
0 Kudos

Yes Evgeniy,

in fact, I change another solution. I use element "DATASET" as a root node, and remove the namespace in Message Type. I mean whether UDF can do it or not. The answer should be negative. The XSL should be OK.

Thank you Evgeniy for your solution.

Many thanks & best regards,
Hubery

manoj_khavatkopp
Active Contributor
0 Kudos

Hubery,

I doubt if UDF would suffice for this requirement , you can go for java mapping just using replaceALL function.

Br,

Manoj

Former Member
0 Kudos

Hi Manoj,

Your solution should be possible. Thank you for your advice.

Many thanks & best regards, Hubery

amarnath_m
Explorer
0 Kudos
manoj_khavatkopp
Active Contributor

XMLAnonymizer Bean is meant for only removing namespace not the structure.

Former Member
0 Kudos

Hi Amarnath & Manoj,

Thank you for your advice.

Many thanks & best regards,

Hubery