ElementTree (root) indent(root) # writing xml tree.write("example.xml", encoding="utf-8", xml_declaration=True). Result on "example.xml":
確定! 回上一頁