Why isn't this XML working

I took an xml file (aso-instruments.xml) and added some instruments by pasting the instruments from a score. (I opened it in mscx format with EditX-Pro)

Attachment Size
aso-instruments.xml 72.11 KB

Comments

The instruments in score are not having the exact same format as in instruments.xml.
Also your xml has errors:
error on line 940 at column 14: Opening and ending tag mismatch: Instrument line 0 and Part

In reply to by ♪𝔔𝔲𝔞𝔳𝔢𝔯 ℭ𝔯𝔞𝔣𝔱𝔢𝔯♪

Take existing entries from instruments.xml and modify those. I don't think you'll find Part and Staff tags there for example.
Have a look at https://musescore.org/en/developers-handbook/references/instruments.xml…

Also have a look at how the score does it, but don't blindly copy/paste stuff across. I for example use that to find the proper range of instruments, letting MuseScore translate an E2 onto the corresponding pitch

Do you still have an unanswered question? Please log in first to post your question.