Text this: X-ray spectroscopy