The paper presents original experimental results which were chosen to present an application of the synchrotron radiation for study of engineering of the valence band electronic structure of the semimagnetic semiconductors. The results of the resonant photoemission study (Fano type resonance) of transition metal atoms (3p-3d electrons transition) and rare earth atoms (4d-4f electrons transition) incorporated into the volume of the II-VI and IV-VI compounds or deposited on clean surface of the CdTe crystal will be presented