def _meta_item_to_xml(self, doc, key, value):
        node = doc.createElement('meta')
        doc.appendChild(node)
        node.setAttribute('key', '%s' % key)
        text = doc.createTextNode('%s' % value)
        node.appendChild(text)
        return node
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/MetadataXMLSerializer._meta_item_to_xml/original