Using two optical toroidal elements, a mirror and a grating, both working at grazing incidence, a spectrometer can be built that is stigmatic in the XUV region at one wavelength. Good compensation of the aberrations is achieved when the intermediate sagittal image is nearly at infinity. By varying the angle of incidence on the grating with simple movements, a given couple of optical elements could cover stigmatically a rather extended spectral range. If coupled with bidimensional array detectors, such a spectrograph could find applications in planned solar XUV telescopes.