docs: def _handle_resps(self, root):
          """Returns `root` with a resp list added to the TEI header and @resp
          values changed to references."""
          resps, bearers = self.get_resps(root)
          if not resps:
              return root
          file_desc = root.xpath(
              '/tei:teiCorpus/tei:teiHeader/tei:fileDesc',
              namespaces=constants.NAMESPACES)[0]
          edition_stmt = etree.Element(TEI + 'editionStmt')
          file_desc.insert(1, edition_stmt)
          for index, (resp_resp, resp_name) in enumerate(resps):
              resp_stmt = etree.SubElement(edition_stmt, TEI + 'respStmt')
              xml_id = 'resp{}'.format(index+1)
              resp_stmt.set(constants.XML + 'id', xml_id)
              resp = etree.SubElement(resp_stmt, TEI + 'resp')
              resp.text = resp_resp
              name = etree.SubElement(resp_stmt, TEI + 'name')
              name.text = resp_name
              resp_data = '{{{}|{}}}'.format(resp_resp, resp_name)
              self._update_refs(root, bearers, 'resp', resp_data, xml_id)
          return root