Whoa, where did you get that 700 dollar price range? Those guns can be had in CA for around 500 or so dollars... give or take a few bucks. I can get the XD for a tad cheaper. Anyway, get whatever fits best in your hand. For me the Glock feels better. If I had the get the XD, I would get the 5 inch tactical model. Those things are super accurate.
And wow, so much Glock hate. I'm not one of those Glock fanboys but I give respect where it deserves. You can beat those things to death and they'll still work like a cham. I've fired 3500 rounds through my 17 and it has never failed me.
Screw them both and get a sig 
h: