Theoretical description of atomic photoionization by attosecond XUV pulses in a strong laser field: the case of p-shell ionization