The <rootfile> element

Parent element: <rootfiles>

The <rootfile> element describes each top-level file in the MusicXML container. A MusicXML file used as a <rootfile> may have <score-partwise>, <score-timewise>, or <opus> as its document element.


Always empty.


Name Type Required? Description
full-path token Yes Provides the path relative to the root folder of the zip file.
media-type token No Identifies the media type of different top-level root files. It is an error to have a non-MusicXML media-type value in the first <rootfile> in a <rootfiles> element. If no media-type value is present, a MusicXML file is assumed.


This element is used in the following examples:

<container>, <rootfile>