I have seen a lot of XD's shooting in the Production class at matches. It appears they have taken a chunk out of the Glock pie for production class. Both pistols are good firearms.
The better question is have you had both guns in your hand? Did one fit better or give you that warm fuzzy feeling when you held it? Check out some gun ranges that have rentals and see if you can fire both. Guns are like gloves, some fit your hand and some don't. See what gun YOU shoot and handle better.
"They say you can't use a rifle or shotgun indoors because a bad guy will grab the barrel. Yeah? Well, he better hang on, 'cause I'm gonna light him up and it will definitely be an "E" ticket ride."
"Make (your attacker) advance through a wall of bullets. I may get killed with my own gun, but hes gonna have to beat me to death with it, 'cause it's going to be empty."
Clint Smith, Thunder Ranch