I do this a lot. I have always had success with transferring MIDI.
When I try Music XML, I have mixed success. The advantage is chord symbols also transfer. The disadvantage is that some programs do not read the Music XML, and don't tell you why.
BIAB 2019 Win Audiophile; [& 2019 Mac UltraPak]. Software: Cakewalk, Adobe Audition, Ozone, Encore; Win 10 64 Pro. Hardware: custom i7, 16 Gb; Roland Integra-7, Focusrite 18i20(2), TCE Finalizer, Behringer X-Touch, Adam sub & monitors.