Analysis of the X-ray and time-resolved XUV emission of laser produced Xe and Kr plasmas