For carry, I'd rather have the XD due to the grip safety. I just don't like/trust "safe action" and an additional safety is a GOOD thing for me when it comes to carry. The grip safety is passive so it doesn't get in the way or do anything funky for the carry of the weapon, just additional safety for the user. I don't even consider safe action guns at all for my personal carry, but I'd like to have a G19 for range use. It can be modified for carry, too, that MIGHT suit me. You can put an 8 lb trigger in it (New York Trigger) and they make these little plastic things that go behind the trigger and prevent it from being pulled until you push the plastic thing out with your finger. Still, I prefer a good DAO or decocking DA like the Sigs or Ruger DCs for carry, thanks.
Nothing wrong with Glock as a gun, fired a lot of 'em. They're accurate and reliable, just don't care for the trigger for carry. I've never fired an XD, just think the grip safety is desirable on a carry gun. JMHO