The spectra of scattering of slow electrons by standard and metastable xenon atoms are investigated. The excitation functions of resolved peaks are studied. New information on efficient cross sections of scattering of electrons by xenon atoms is obtained.