X-ray spectra of beta NiAl