From my workshop
Engine swap: a new heart for the Transalp
Honda Transalp XL700V16 steps
How it came about: in Spain I accidentally filled up with E85. My Transalp didn't like that at all, and the valves seized. She still made it all the way home, but once there it was clear: a new engine had to go in. Tap a photo to see it full size.
My tip before you set off: always look closely at the pump abroad. E85 is often right next to normal petrol and is not made for most motorcycles.
An engine swap sounds like a huge job, but with patience, a bike lift and a few ratchet straps it's very doable in your own garage. Before you strip anything, photograph and label every connector and every hose, put bolts into labelled bags, and secure the front of the frame with ratchet straps before the engine comes out. Otherwise the bike will tip over as soon as the weight is gone.