The X-ray photoemission spectra of Nd(OH)3, Sm(OH)3, Eu(OH)3 and Gd(OH)3