Something to think about though, XDs have only been around a few years. Glocks have been around for a few decades. I voted XD, I've tried both and I love the way the XD feels in my hand, the glock was nice the but the grip angle was a little exetreme. Both I feel are very reliable and quality pistoils.I voted Glock. Both pistols are roughly equal in quality, but Springfield makes it impossible to get spare parts (they're only now starting to show up on pistolgear.com).
Glock parts on the other hand, can be had from pretty-much anywhere. Not to mention the fact that Glock will fix/replace their pistols pretty-much forever.
Who gives a ****?
Buy what you shoot best.