The photon excitation of soft x-ray emission spectra