def to_xml(self):
element = etree.Element(self._tag_name)<EOL>struct_to_xml(element, [<EOL>{"<STR_LIT>": self.handle},<EOL>{"<STR_LIT>": self.target_guid},<EOL>{"<STR_LIT>": DiasporaRetraction.entity_type_to_remote(self.entity_type)},<EOL>])<EOL>return element<EOL>
Convert to XML message.