Generation of XUV photons and their application in time-resolved photoelectron spectroscopy