Coherent diffractive imaging is a recent imaging technique that offers spatial resolutions of the order of the wavelength, thanks to the fact that it does not require any potentially aberrating optical elements. We recently demonstrated sub 100-nm resolution using XUV radiation created by infrared laser high order harmonic generation (HHG). However, the resolution is usually limited by the source spectral width. We propose a new lensless holographic imaging scheme that gives the ability to exploit the spectral and temporal properties of HHG emission. Through a clever positioning of the holographic reference, we demonstrate the possibility either to combine the spatial and spectral resolutions in a single laser pulse, or to achieve nanometer spatial or sub-femtosecond temporal resolutions.