The interfaction has the form
Hij=D(SiXSj),
where S1 and S2 are the interacting spins and D is the interaction coefficient, which depends strongly on the symmetry.