def _find_all_in_xml(page, mykey):  
    (doc, lookup_function) = _get_doc_from_xml(page)  
    if not doc:
        return None
    try:
        doc_list = doc.getElementsByTagName(mykey)
    except (KeyError, IndexError, __HOLE__):
        return None
            
    return(doc_list)
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpact/providers/provider.py/_find_all_in_xml