I don't think you can get anything to work out of those parts unless the 10 speed cassette fits on an XD driver (which I'm assuming it doesn't - I don't recall Sram making a 10 speed, XD cassette). ...