All things being equal I prefer the design of XLR cables. The connectors seem like they will last forever. RCA always feels like each time I insert I am putting a tiny amount of wear and tear on it, which means there is a finite number of times I can do it before something bad happens. That number will probably last me decades but still.
However some designs actually sound better with one or the other connection type. Even if both are technically available on the components. So you really need to play around with your system and see if you have a preference for the sound either way. If they are equal I'd go XLR.

