How to export a complex file to XML so that Cubase imports it correctly

How to export a complex file to XML so that Cubase imports it correctly, as it is written, without moving anything? I can adjust the quantization in Cubase, but it’s not enough to find the original quintuplets, links, etc. What to do ? I post the same question on the Cubase forum.

For my project I export Midifile… Why you want export XML?

XML format preserves ligatures and other technical elements that MIDI does not. But my MIDI tests are no better. In fact, I realize that complex elements like quintuplets are well transferred into the facts. The midi editor shows this. But the score is unable to represent the thing well or simply to keep (in XLM) the original writing. It’s time for Dorico to integrate with Cubase …