Introduce decorator to return `None` when xml attr KeyError