Drumset MusicXML unwanted text

When sending an XLM file, there is the following problem: the drummer as recipient opens the XLM file with another programme. Now he has the line of the drum set full of instrument information. How can I delete them before sending? Thank you!

I don’t think Dorico is exporting anything like this – what is the receiving application being used by your drummer?

Your drummer could consider using the free version of Dorico (Dorico SE on Mac/Windows, or Dorico for iPad) to open your drum parts directly in Dorico without worrying about MusicXML conversion.