Change xml template generating