XPS spectra and electronic structure of the ErNi4B compound