X-ray generation from and spectroscopy of a thin liquid sheet