With Shimano MTB components the short answer is No, it won't work, the 10 speed shifters and derailleurs have different pull ratios.
The long answer is it can be made to work. You just need to define what you mean by work. When I buy XT, I want and expect it to 'work, just like XT should' - reliably, for the life of the components. Its silly to spend XT kind of money to get Tourney performance. Mixing components from different speeds, even when using 'problem solvers' often leaves a less than ideal version of 'works'.
That said, a few people seem to have magic hands and/or the patience of saints and get these frankeinsetups working smoothly and reliably.