<meiHead>

(MEI header) – (MEI header) – Supplies the descriptive and declarative metadata prefixed to every MEI-conformant text.
Module
Attributes
@label, @type, @xml:id, @xml:lang
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
@type(optional)Specifies the kind of document to which the header is attached, for example whether it is a corpus or individual text. Allowed values are: "music" (Header is attached to a music document.), "corpus" (Header is attached to a corpus.), "independent" (Header is independent; , not attached to either a music or a corpus document.)
@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.
@xml:lang(optional)Identifies the language of the element's content. The values for this attribute are language 'tags' as defined in BCP 47. All language tags that make use of private use sub-tags must be documented in a corresponding language element in the MEI header whose id attribute is the same as the language tag's value. Value of datatype language.
@type(optional)Specifies the kind of document to which the header is attached, for example whether it is a corpus or individual text. Allowed values are: "music" (Header is attached to a music document.), "corpus" (Header is attached to a corpus.), "independent" (Header is independent; , not attached to either a music or a corpus document.)
(MEI.shared) Attributes that form the basis of the att.common class.
(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)
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
(MEI.shared) Language attributes common to text elements.
@xml:lang(optional)Identifies the language of the element's content. The values for this attribute are language 'tags' as defined in BCP 47. All language tags that make use of private use sub-tags must be documented in a corresponding language element in the MEI header whose id attribute is the same as the language tag's value. Value of datatype language.
@type(optional)Specifies the kind of document to which the header is attached, for example whether it is a corpus or individual text. Allowed values are: "music" (Header is attached to a music document.), "corpus" (Header is attached to a corpus.), "independent" (Header is independent; , not attached to either a music or a corpus document.)
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
@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.
@xml:lang(optional)Identifies the language of the element's content. The values for this attribute are language 'tags' as defined in BCP 47. All language tags that make use of private use sub-tags must be documented in a corresponding language element in the MEI header whose id attribute is the same as the language tag's value. Value of datatype language.
Member of
(meiHead isn't member of any model class)
Contained By
<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.
<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.
May Contain
<encodingDesc>Documents the relationship between an electronic file and the source or sources from which it was derived as well as applications used in the encoding/editing process.
<fileDesc>(file description) – Contains a full bibliographic description of the MEI file.
<encodingDesc>Documents the relationship between an electronic file and the source or sources from which it was derived as well as applications used in the encoding/editing process.
<fileDesc>(file description) – Contains a full bibliographic description of the MEI file.
Remarks

For MEI Basic, an MEI header may contain a fileDesc element only.

Constraints

The meiHead type attribute can have the value 'music' only when the document element is "mei".
The meiHead type attribute can have the value 'corpus' only when the document element is "meiCorpus".
The meiHead type attribute can have the value 'independent' only when the document element is "meiHead".

Declaration
<elementSpec rend="add" ident="meiHead" module="MEI.header">
<gloss xml:lang="en">MEI header</gloss>
<desc rend="replace">(MEI header) – Supplies the descriptive and declarative metadata prefixed to every MEI-conformant text.</desc>
<classes>
<memberOf key="att.basic"/>
<memberOf key="att.labelled"/>
<memberOf key="att.lang"/>
</classes>
<content>
<ref name="fileDesc"/>
<optional>
<ref name="encodingDesc"/>
</optional>
</content>
<constraintSpec ident="check_meiHead_type" scheme="schematron">
<constraint>
<sch:rule context="mei:meiHead[@type eq 'music']">
<sch:assert test="ancestor::mei:mei">The meiHead type attribute can have the value 'music' only when the document element is "mei".</sch:assert>
</sch:rule>
<sch:rule context="mei:meiHead[@type eq 'corpus']">
<sch:assert test="ancestor::mei:meiCorpus">The meiHead type attribute can have the value 'corpus' only when the document element is "meiCorpus".</sch:assert>
</sch:rule>
<sch:rule context="mei:meiHead[@type eq 'independent']">
<sch:assert test="not(ancestor::mei:*)">The meiHead type attribute can have the value 'independent' only when the document element is "meiHead".</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="type" usage="opt">
<desc xml:lang="en">Specifies the kind of document to which the header is attached, for example whether it is a corpus or individual text.</desc>
<valList type="closed">
<valItem ident="music">
<desc xml:lang="en">Header is attached to a music document.</desc>
</valItem>
<valItem ident="corpus">
<desc xml:lang="en">Header is attached to a corpus.</desc>
</valItem>
<valItem ident="independent">
<desc xml:lang="en">Header is independent;
<abbr>i.e.</abbr>
, not attached to either a music or a corpus document.</desc>
</valItem>
</valList>
</attDef>
</attList>
<remarks>
<p>For MEI Basic, an MEI header may contain a fileDesc element only.</p>
</remarks>
</elementSpec>