

def _meta_list_to_xml_string(self, metadata_dict):
    xml_doc = minidom.Document()
    items = metadata_dict['metadata'].items()
    container_node = self.meta_list_to_xml(xml_doc, items)
    xml_doc.appendChild(container_node)
    self._add_xmlns(container_node)
    return xml_doc.toxml('UTF-8')

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py MetadataXMLSerializer._meta_list_to_xml_string/original