Glock 19 one of the best all-arounders out there....
I got an XD-9 service as my first center-fire auto, and ended up trading it in on a Glock 22.... Liked the 22 so much I got a Glock 19, and love it. The Glock Ergonomics worked much better for me. Funny thing is, that I bought the XD because it felt better to me in the store than a G17 I was comparing it to. As it turned out, on the range I much prefered the Glock.
The point is, everybody is different. It's best to be able to shoot all of your choices before buying, but that may not be possible. If you go with the XD, get a stainless slide....the finish on the blued XD isn't very good.