Soft X-ray emission by an electron-beam-sliding-spark device