MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <rootfile> element

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.

Content

Always empty.

Attributes

NameTypeRequired?(Default)Description
full-pathxs:tokenYesProvides the path relative to the root folder of the zip file.
Provides the path relative to the root folder of the zip file.
media-typexs:tokenNoIdentifies 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.
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.

Examples

This element is used in the following examples:

<container><rootfile>