X-Ray Absorption Spectroscopy Study Of Prototype Chemical Systems: Theory Vs. Experiment