code: def get_targets(self):
          
          if self.xml_root.tag == "testcases":
              self.submit_target = self.config.get("testcase_taget")
              self.queue_url = self.config.get("testcase_queue")
              self.log_url = self.config.get("testcase_log")
          elif self.xml_root.tag == "testsuites":
              self.submit_target = self.config.get("xunit_target")
              self.queue_url = self.config.get("xunit_queue")
              self.log_url = self.config.get("xunit_log")
          elif self.xml_root.tag == "requirements":
              self.submit_target = self.config.get("requirement_target")
              self.queue_url = self.config.get("requirement_queue")
              self.log_url = self.config.get("requirement_log")
          else:
              raise Dump2PolarionException("Failed to submit to Polarion - submit target not found")
docs: Sets targets.