xmlStr = xmlDocument.toprettyxml(indent='\t', newl='\n', encoding='UTF-8') fix ... 关于xml.dom.minidom的toprettyxml()的唯一困扰是它添加了空白行。
確定! 回上一頁