Pretty sure it won't work well as the cog spacings are different. If the shifting is pre-indexed, you should be okay though.
It may work for some gears but I would not expect good shifting or quiet running across the gears.
If you already have the stuff, put the wheel on and see what happens. Go easy since slipping gears could be a result of the mix-and-match. Should be able to get at least a few gears to work.
Here's a little reading for you.http://sheldonbrown.com/drivetrain-mixing.shtml