<mei>

Contains a single MEI-conformant document, consisting of an MEI header and a musical text, either in isolation or as part of an meiCorpus element.
Module
Attributes
@meiversion, @xml:id
@meiversion(required)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+basic" (Version of MEI Basic customization)
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
(MEI.shared) Attributes that uniquely identify an element.
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
(MEI.shared) Attributes that record the version of MEI in use.
@meiversion(required)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+basic" (Version of MEI Basic customization)
@meiversion(required)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+basic" (Version of MEI Basic customization)
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
Member of
(mei isn't member of any model class)
Contained By
May Contain
<meiHead>(MEI header) – Supplies the descriptive and declarative metadata prefixed to every MEI-conformant text.
<music>Contains a single musical text of any kind, whether unitary or composite, for example, an etude, opera, song cycle, symphony, or anthology of piano solos.
<meiHead>(MEI header) – Supplies the descriptive and declarative metadata prefixed to every MEI-conformant text.
<music>Contains a single musical text of any kind, whether unitary or composite, for example, an etude, opera, song cycle, symphony, or anthology of piano solos.
Remarks

The <mei> element defines an instance of a document encoded with the MEI schema. It is the document element for a single document containing a header and data. The name of this element should not be changed by any customization in order to assure an absolute minimum level of MEI compliance.

Constraints

The values in @staff must correspond to @n attribute of a staffDef element.

Declaration
<elementSpec rend="add" ident="mei" module="MEI.shared">
<desc xml:lang="en">Contains a single MEI-conformant document, consisting of an MEI header and a musical text, either in isolation or as part of an meiCorpus element.</desc>
<classes>
<memberOf key="att.id"/>
<memberOf key="att.meiVersion"/>
</classes>
<content>
<ref name="meiHead"/>
<ref name="music"/>
</content>
<constraintSpec ident="Check_staff" scheme="schematron">
<constraint>
<sch:rule context="mei:*[@staff]">
<sch:assert test="every $i in tokenize(normalize-space(@staff), '\s+') satisfies $i=//mei:staffDef/@n">The values in @staff must correspond to @n attribute of a staffDef element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks xml:lang="en">
<p>The <gi scheme="MEI">mei</gi> element defines an instance of a document encoded with the MEI schema. It is the document element for a single document containing a header and data. The name of this element should not be changed by any customization in order to assure an absolute minimum level of MEI compliance.</p>
</remarks>
</elementSpec>