python: xml.etree.elementtree.ElemenTtree.write() declaration tag

后端 未结 0 1319
囚心锁ツ
囚心锁ツ 2021-02-12 16:57

I’ve created an XML document using xml.etree.elementtree.Element, and wanted to print it using the ElementTree.write() function but the declaration tag that comes out is

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题