When working with message transformation, we need to modify payloads. We may be removing an element or adding a new element, but there can be a payload when you remove the main root element to add a new element and the payload becomes fully or partially multi-rooted. In general, multi-rooted XML is fundamentally wrong, so the ESB cannot handle such scenarios. As a result, the ESB will not behave as you are expecting. If you use the same XPath with some other external XPath testing tools or website, you will learn that your expression is not wrong, even though you are not getting the expected output.
Let’s consider the payload below: https://goo.gl/24nuJJ #DataIntegration #ML


