Change xml method