Just to confirm, You want to use the DJI motors on the XAircraft frame?
If this is the case, the answer has two parts.
1. Yes, they are a direct bolt up with the correct bolt spacing.
2. You will need to buy shorter 3mm bolts to mount the motors. 3mm x 5mm.
http://www3.towerhobbies.com/cgi-bin/wti0001p?&I=LXGNZ8
I tried using the stock XA bolts and the bolts cause interference with the motors. Motor would just twitch or rotate very slowly.
It wasn't until I removed the motor from the mount and tired it that & found out it was the bolts.
They did not rub, but were too close the windings and caused electrical interference.
Yours may seem to work, but I would not chance it as you would not want to loose a motors due to interference while flying.
I hope this helps.