The general form of the X-ray susceptibility tensor near absorption edges is found when several anisotropic factors, such as the anisotropy of local atomic environment, magnetic ordering and orbital ordering, simultaneously exist in a crystal. Different phenomenological approaches are used to obtain the explicit form of the susceptibility tensor and to ®nd the contributions from each anisotropic factor separately as well as`combined' terms owing to their simultaneous existence. The results of the theoretical treatment are applied to the resonant diffraction by La 0.5 Sr 1.5 MnO 4 below the Ne  el temperature, where charge and orbital ordering coexist with anisotropy of local atomic environment and magnetic ordering.