For my last camel project I used xslt to transform incoming xml into an xml format suitable for sending to a third party web service. This works just fine. Is this still considered the best approach for xml-to-xml mapping or are there better and more performant tools that you guys would recommend?
Personally I don't mind xslt but feedback from other developers in my organisation is that they find it difficult to read and maintain, particularly when the conversion is fairly complex. They have a point.
One alternative I am considering is marshalling to java objects and converting before unmarshalling back to xml. This has the benefit of being easier to set up and maintain via converter objects. I am however concerned about the effect on performance the number of operations required to achieve this will have.
Interested in your thoughts.
Many thanks