<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, @resp, @status, @xml:id
@meiversion(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+cmn" (Version of MEI CMN customization)
@resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
@status(optional)Used to describe the status of a document (currently or at the time indicated by a date). Suggested values are: "draft" (Initial or preliminary version of the document.), "in-process" (Document is under development.), "candidate" (Content of the document is ready for review.), "approved" (Content of the document is reviewed and ready to be published.), "published" (Document is published.), "withdrawn" (Publication of the document has been reversed.), "embargoed" (Document cannot be published (in full or in part) due to an embargo.)
@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(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+cmn" (Version of MEI CMN customization)
(MEI.shared) Attributes capturing information regarding responsibility for some aspect of the text's creation, transcription, editing, or encoding.
@resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes for describing the status of a document.
@status(optional)Used to describe the status of a document (currently or at the time indicated by a date). Suggested values are: "draft" (Initial or preliminary version of the document.), "in-process" (Document is under development.), "candidate" (Content of the document is ready for review.), "approved" (Content of the document is reviewed and ready to be published.), "published" (Document is published.), "withdrawn" (Publication of the document has been reversed.), "embargoed" (Document cannot be published (in full or in part) due to an embargo.)
@meiversion(recommended)Specifies a generic MEI version label. Allowed values are: "6.0-dev" (Version of MEI), "6.0-dev+cmn" (Version of MEI CMN customization)
@resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
@status(optional)Used to describe the status of a document (currently or at the time indicated by a date). Suggested values are: "draft" (Initial or preliminary version of the document.), "in-process" (Document is under development.), "candidate" (Content of the document is ready for review.), "approved" (Content of the document is reviewed and ready to be published.), "published" (Document is published.), "withdrawn" (Publication of the document has been reversed.), "embargoed" (Document cannot be published (in full or in part) due to an embargo.)
@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
<meiCorpus>A group of related MEI documents, consisting of a header for the group, and one or more <mei> elements, each with its own complete header.
<meiCorpus>A group of related MEI documents, consisting of a header for the group, and one or more <mei> elements, each with its own complete header.
May Contain
<meiHead>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>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 xmlns="http://www.tei-c.org/ns/1.0" 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"/>
<memberOf key="att.responsibility"/>
<memberOf key="att.docStatus"/>
</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>