結果 : python code to generate xml file