code: def register_xml_mapping(self, clsdict):
          
          member_to_xml = self._get_or_add_member_to_xml(clsdict)
          member_to_xml[self.value] = self.xml_value
          xml_to_member = self._get_or_add_xml_to_member(clsdict)
          xml_to_member[self.xml_value] = self.value
docs: Add XML mappings to the enumeration class state for this member.