Added XDT transformation support
Completed and tested XDT support