Renames/replaces an element in the document
during the processing phase.
The element is visited by this Processing Unit after it's child content
has been iterated over.
See
DomUtils.renameElement(org.w3c.dom.Element, java.lang.String, boolean, boolean).
.cdrl Configuration
<smooks-resource useragent="device/profile" selector="target-element-name" path="org.dhatim.cdres.trans.RenameElementTU">
<!-- The name of the replacement element. -->
<param name="replacementElement">replacement-element-name</param>
<!-- (Optional) Copy target elements child content to the replacement
element. Default is true. -->
<param name="keepChildContent">true/false</param>
<!-- (Optional) Copy target elements attributes to the replacement
element. Default is true. -->
<param name="keepAttributes">true/false</param>
</smooks-resource>
See
SmooksResourceConfiguration.