@classmethod
def from_xmldict(cls, xml_dict):
    """Create an `Author` from a datacite3 metadata converted by
        `xmltodict`.

        Parameters
        ----------
        xml_dict : :class:`collections.OrderedDict`
            A `dict`-like object mapping XML content for a single record (i.e.,
            the contents of the ``record`` tag in OAI-PMH XML). This dict is
            typically generated from :mod:`xmltodict`.
        """
    name = xml_dict['creatorName']
    kwargs = {}
    if 'affiliation' in xml_dict:
        kwargs['affiliation'] = xml_dict['affiliation']
    return cls(name, **kwargs)
