X-ray absorption