Title: Application of the relativistic random-phase approximation to the photoexcitation and photoionization of atoms