Don't do it. Nothing against xds but that beretta is just a nicer pistol. It should be worth (all things being equal) at least 25% more than the xd.
I don't know about the open market prices, but I would take the Beretta any day. In fact I did.