Correction of a writing error in method changeXML().