Build a :class:`~zenodio.harvest.Datacite3Collection` from
        Datecite3-formatted XML.

        Users should use :func:`zenodio.harvest.harvest_collection` to build a
        :class:`~zenodio.harvest.Datacite3Collection` for a Community.

        Parameters
        ----------
        xml_content : str
            Datacite3-formatted XML content.

        Returns
        -------
        collection : :class:`Datacite3Collection`
            The collection parsed from Zenodo OAI-PMH XML content.

def from_collection_xml(cls, xml_content):
        """Build a :class:`~zenodio.harvest.Datacite3Collection` from
        Datecite3-formatted XML.

        Users should use :func:`zenodio.harvest.harvest_collection` to build a
        :class:`~zenodio.harvest.Datacite3Collection` for a Community.

        Parameters
        ----------
        xml_content : str
            Datacite3-formatted XML content.

        Returns
        -------
        collection : :class:`Datacite3Collection`
            The collection parsed from Zenodo OAI-PMH XML content.
        """
        xml_dataset = xmltodict.parse(xml_content, process_namespaces=False)
        # Unwrap the record list when harvesting a collection's datacite 3
        xml_records = xml_dataset['OAI-PMH']['ListRecords']['record']  # NOQA
        return cls(xml_records)