def pers_name(data):
    """
    extract text from TEI element <persName>
    """
    try:
        return data.find(".//persName", namespaces=data.nsmap).text
    except AttributeError:
        pass
    return None