Comment 4 for bug 1068290

Revision history for this message
yong sheng gong (gongysh) wrote :

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)