Q:

Cxf Transformation Feature: How to change a specific element?

Using the transformation feature with, for example key = {ns}tag, value ={ns}Tag will transform all "tag" elements of the xml to "Tag"elements.
<parent>
  <tag...>
  <child>
    <tag...>
  </child>
</parent>

Let's say I only want to modify the "tag" element of child not of parent.
How can I modify a specific element?

A:

It looks like it's not possible to achieve this with the CXF Transformation Feature. I don't have the time to achieve this with the CXF XSLT Feature, so I decided to create my own interceptor which uses a XPath Expression to solve this.

