def METHOD_NAME(ele, path):
    """Function, which will return xpath namespace for given
    element and xpath
    """
    if version == "1.0.0":
        from pywps import namespaces100
        nsp = namespaces100
    elif version == "2.0.0":
        from pywps import namespaces200
        nsp = namespaces200
    else:
        raise NotImplementedError(version)
    return ele.xpath(path, namespaces=nsp)