In-situ observations of catalytic surface reactions with soft x-rays under working conditions