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
<?xml version='1.0' encoding='UTF-8'?>
While I need to be in double quotes. is there a way to change that?