definately glock for me. XD's are great shooters dont get me wrong but i preffered the glock shooting them back to back. Either way go to medlocks and try em out or even dare i say tulsa firearms may have them to rent. But try em both back to back and see what you like better.
I bought my XD40 at sportsworld and really liked it just holding them and what not but after a trip to the range and shooting my buddies glock against it ended up trading with a member on here and havent looked back. both are good guns cant really go wrong either way.