XMF (Extensible Music Format) is a tree-based digital container format used to bundle music-oriented content, such as a MIDI file and optionally the sounds it uses, liner notes or other content grouped by language-codes.
The first XMF definitions were to allow the bundling of a musical performance with the musical sounds used. For instance, a MIDI file could be stored together with a Downloadable Sounds file, and both files would travel together inside one XMF file. This specific use of an XMF file is referred to as XMF File Type 0 (streaming) or XMF File Type 1 (non-streaming), depending on whether the type of the MIDI file is 0 or 1, respectively.
There are currently five XMF File Types defined. The latest of which is XMF File Type 4 (counted from zero) and is called Interactive XMF (iXMF).[1]
The specifications for the XMF were first published in 2001 by the MMA.[2]