Laser-based soft x-ray light source resolving x-ray absorption near edge structure at the carbon K edge