I have an XD-40 service model. Very nice! 1,500 rounds or so to date, zero malfunctions of any kind. Eats every ammo I can buy locally without a hitch. My buddy has a similar experience with his sub compact XD-9.
IMO, they are superior to the glock.
For contact area frame-to-slide than glock, the additional grip safety as an added bonus, fully supported chambers, steel guide rod, and a GREAT customer service to back them up. The only thing the glock can beat is with aftermarket parts availability--but the XD lineup has had a boost in aftermarket parts the last few years...drop in trigger kits, recoil rods, etc.
Price around here puts XD's 75-100 cheaper than the glocks as well. Superior product for less $$$!!!