docs: def pretty_print(source, dest):
      """
      Pretty print the XML file
      """
      parser = etree.XMLParser(remove_blank_text=True)
      if not isinstance(source, str):
          source = str(source)
      tree = etree.parse(source, parser)
      docinfo = tree.docinfo
      with open(dest, 'wb') as fp:
          fp.write(etree.tostring(tree, pretty_print=True,
                                  encoding=docinfo.encoding, standalone=docinfo.standalone))