Does this mean we remove the _to_xml() method?
def _to_xml(self, root):
314 """Convert the xml object to an xml string."""
315 # we use lxml here instead of xml.minidom for performance reasons
316 return etree.tostring(root, encoding='UTF-8', xml_declaration=True)
Does this mean we remove the _to_xml() method? root, encoding='UTF-8', xml_declaration =True)
def _to_xml(self, root):
314 """Convert the xml object to an xml string."""
315 # we use lxml here instead of xml.minidom for performance reasons
316 return etree.tostring(