Should be able to transform from the document we have to the document we want.
Source document. Source schema with decorations. Target schema. Form or renaming attribute. Names of renaming attributes to be ignored.
Element renaming. Add attributes with target element names in the source elements.
Have to look at this paper. Could be useful.