Text this: X-ray photoelectron spectroscopy