XAS measurements and linear dichroism at the Cu L2,3 and O K edge on infinite layer e-doped superconductors