I'm not familiar with SRAM's road/MTB compatibility but I do know Shimano's MTB and road front derailleurs aren't compatible with each other's shifters so it wouldn't be surprising if SRAM's aren't either so replacing the Rival with an XX may not help. Also a road front derailleur will have a cage curvature matched to a 50T or larger big chainring and your 42/28 chainrings are awfully far from that design.