I own a G34 (same as the G17, just a tad longer slide) and a XD 5" 45. Both shoot very similar, dissemble virtually the same, are extremely reliable and easy to use, have good accuracy, etc.
The big difference (other then caliber) between the 2? The XD does has a slightly different grip...