// We must not clone the processors, because we remove attributes
Element substituteElement =
element.cloneElementNodeWithNewName(element, substituteName, false);
// We must not clone the processors, because we remove attributes
Element substituteElement =
element.cloneElementNodeWithNewName(element, substituteName, false);