Resonant X-ray emission with a standing wave excitation