Resonant X-ray scattering measurements of a spatial modulation of the Cu 3d and O 2p energies in stripe-ordered cuprate superconductors.