def serialize_part_xml(part_elm):
 return etree.tostring(part_elm, encoding=u'UTF-8', standalone=True)

def serialize_part_xml ( part_elm ) : return etree . tostring ( part_elm , encoding = u'UTF-8' , standalone = True )
serialize *part_elm* etree element to xml suitable for storage as an xml part .