parseString(ET.tostring(root)).toprettyxml(indent='\t'). 用BeautifulSoup. from bs4 import BeautifulSoup. prettyXmlString = BeautifulSoup(xxx ...
確定! 回上一頁