0 Replies Latest reply on Jan 23, 2015 11:43 AM by André Francisco

    Smooks XML mappings

    André Francisco Newbie

      Hello,

       

      How can one map between schemas in smooks? Let’s say two xml in a SwitchYard project with Camel route and Smooks. We’re trying to do it with Smooks, but we are not able to do this since the visual editor has no option to create a xml to xml mapping, it only provides options to map between java objects and xml. What we have discovered is that opening the smooks configuration file we can see the transformations being performed via freemarker where these mappings are done. But if we have dozens of xml fields this task can become hard to editing the xml directly since we have to map one by one. Find in attach an example of what we need to do.

       

      Thanks