A Nonthermal Model for the XUV, Soft X-Ray Emission of AGN and QSOs