start read/write XML writing