XML writing completed