It is pretty close. I find the the trigger on the P07 to feel a little better then that on the XD once fired in. It is much lighter and and smoother in my opinion. The accuracy on my XD is a bit better, especially at longer ranges. I think the P07 has a slightly shorter barrel and sight radius (have not measured this, correct me if I am wrong) which could be the cause of this. The P07 has a much more aggressive grip texture then a XD, a XDM has about the same level of aggression as the P07. Ergonomics in both cases are excellent, the XD wins a bit here due to the ambi mag release though. Recoil is about the same, maybe a bit lighter in the P07. Noise and flash signature is higher in the P07. I also think the XD take down is safer for a new shooter as it requires locking back the slide like in a SIG, this increases the probability of making sure the chamber is empty and mag is out (but we all know making something idiot proof is impossible) before disassembly. I feel pretty good about both designs though.
My only warning on the XD system is to avoid the compacts and to change out to a full lenght guide rod (Don's Rod) on the service models. The captive recoil assembly on the XD compacts and service has been known to unscrew and "disassemble" during a course of fire causing the gun to jam in a critical and time consuming manner. The tactical XD models already have a full length guide rod and avoid the problem. Such an upgrade is not available for the compact or the XD 45 service model. The CZ P07wins in this regard unless the recommended remedy is employed, in which case they are even.
Hope this helps.