docs: def _parse_references(xml):
      """Parse the references to ``Reference`` instances."""
      references = []
      ref_finder = HTMLReferenceFinder(xml)
      for elm, uri_attr in ref_finder:
          type_ = _discover_uri_type(elm.get(uri_attr))
          references.append(Reference(elm, type_, uri_attr))
      return references