X-ray scattering and condensed matter experiments