X-ray absorption spectroscopy studies of local structure and electronic properties of NaxSi136(0 < x < 24) clathrates.