Skip to Content

Remove target structure element

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

go.png (11.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 07, 2016 at 10:00 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 07, 2016 at 10:39 AM

    Hubery,

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

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 07, 2016 at 12:23 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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