def catch(func, handle=lambda e: e, *args, **kwargs):
    """Helper function to enable the list comprehension in xmltolist.

    Whenenver a data field doesn't have an entry, put an empty string.

    cf. http://stackoverflow.com/a/8915613
    """
    try:
        return func(*args, **kwargs)
    except KeyError:
        return ''
