import re


def get_xml_attrib(el, key):
    """Gets an Element attribute value without regard to namespace.

    Returns:
        Value of given key or None.
    """
    for k in el.attrib.keys():
        if key == re.sub("^{.*}", "", k):
            return el.attrib[k]