How to visualize an xml file without any standard layout formatting.
I have created my own xml-file and want to show it exactly as written. I cant find any music program, setting or plugin that supports this functionality. In all cases some standard layout overwrites the layout written in the xml-file.
Comments
It sounds kind of confusing...
If you want to display (not to edit or to compile/build, only to display) it exactly as it is written then you can try to open it in the Firefox web browser. Firefox 107.0 was able to open an uncompressed XML file, it supports "collapse" and it colour some parts of the syntaxis. But it does not support editing in any way but the "inspector" (F12 or Ctrl+Shift+I).
In reply to Sounds confusing. If you… by PhysNoval
Thank you for helping! Im sorry if i was not clear. I want musescore to convert the xml to an image, but i dont want it to format the xml before converting it into the image. I have made some detailed descriptions about measure width, position of the notes, and general layout which it completely ignores, when i import the file to musescore.
You can read the file using Qt FileIO inside a plugin and then display it in plain text format inside a Qt TextArea control.
Clarification: I have created a musicxml-file with detailed layout description, like measure width, position of the notes, and general layout, which is completely ignored every time I import the file to musescore. I there a way to avoid the initial formatting of the xml-file during import?
In reply to Clarification: I have… by torevangrasmu
Take a look at Edit/Preferences/Import.
In reply to Take a look at Edit… by bobjp
Hi, i have tried, but even with "Import layout" and "import system and page breaks" enabled, it overwrites many elements of the imported xml-file