Reason I'm leaning towards the XD is because of the safety in the handle..I want to carry chambered and feel a little safer having that safety in the handle..They both felt good in my hands and I've heard nothing but great things about Glocks...going to be a tough choice, but I'm sure I will be happy with either. Thanks for the replies so far!
Get a good quality holster and keep your finger off the trigger. I had the same concern before i bought my first Glock. Several years and 4 Glocks later... I always carry with one in the pipe and havent had a problem. I dont have any XD experience, but i love my G27. Ive heard nothing bad about the XD either.