Resonant Magnetic X-Ray Diffraction