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.
The required full-path attribute provides the path relative to the root folder of the zip file. The optional media-type attribute 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.
Content
Always empty.
Attributes
| Name | Type | Required? | Description |
|---|---|---|---|
| full-path | xs:token | Yes | |
| media-type | xs:token | No |
Examples
This element is used in the following examples: