We develop a general procedure to analyse the pre-edges in 1s x-ray absorption near edge structure (XANES) of transition metal oxides and coordination complexes. Transition metal coordination complexes can be described from a local model with one metal ion. The 1s 3d quadrupole transitions are calculated with the charge-transfer multiplet program. Tetrahedral coordination complexes have more in...