結果 : python write xml tree to file