MusicXML 4.1 Draft
MusicXML 4.1 Draft > Container Reference > 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

Name Type Required?(Default) Description
full-path xs:token Yes Provides the path relative to the root folder of the zip file.
Provides the path relative to the root folder of the zip file.
media-type xs: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.
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>