 XRF detection enables "in situ" measurements of interfaces between a surface and gas or liquid environments, since hard X-rays can penetrate these media.While XRF gives an element-specific XSW yield, it is not sensitive to the chemical state of the absorbing atom.Chemical state sensitivity is achieved using photoelectron detection, which requires ultra-high vacuum instrumentation.