code: def get_xml_str(self, data):
          
  
          responses = []
          for tag, value in data.items():
              elem = Element(tag)
              if isinstance(value, dict):
                  for value in self.get_xml_str(value):
                      elem.append(value)
              elif isinstance(value, list):
                  value = ', '.join([m for m in value])
                  elem.text = value
              else:
                  elem.text = value
              responses.append(elem)
          return responses
docs: Creates a string in XML Format using the provided data structure.
  
          @param: Dictionary of xml tags and their elements.
  
          @return: String of data in xml format.