The Chemical Structure of Complex Compounds Studied by X-Ray Emission and Quantum Yield Spectra