X‐ray magnetic diffraction from rare‐earths and actinides