<meiHead>

Module
Attributes
analog, label, meiversion, resp, translit, type, xml:base, xml:id, xml:lang
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
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.
meiversion(optional)Specifies a generic MEI version label. Allowed values are: "5.0" (MEI 5.0), "5.0+anyStart" (MEI 5.0+anyStart), "5.0+basic" (MEI 5.0+basic), "5.0+CMN" (MEI 5.0+CMN), "5.0+Mensural" (MEI 5.0+Mensural), "5.0+Neumes" (MEI 5.0+Neumes)
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.
translit(optional)Specifies the transliteration technique used. Value is a NMTOKEN.
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:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
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 is a 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.
xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
(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) Bibliographic attributes.
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
(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 is a language.
translit(optional)Specifies the transliteration technique used. Value is a NMTOKEN.
(MEI.shared) Attributes that record the version of MEI in use.
meiversion(optional)Specifies a generic MEI version label. Allowed values are: "5.0" (MEI 5.0), "5.0+anyStart" (MEI 5.0+anyStart), "5.0+basic" (MEI 5.0+basic), "5.0+CMN" (MEI 5.0+CMN), "5.0+Mensural" (MEI 5.0+Mensural), "5.0+Neumes" (MEI 5.0+Neumes)
(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.
Metadata header component declarations.
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.)
Component declarations that are shared between two or more modules.
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
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.
meiversion(optional)Specifies a generic MEI version label. Allowed values are: "5.0" (MEI 5.0), "5.0+anyStart" (MEI 5.0+anyStart), "5.0+basic" (MEI 5.0+basic), "5.0+CMN" (MEI 5.0+CMN), "5.0+Mensural" (MEI 5.0+Mensural), "5.0+Neumes" (MEI 5.0+Neumes)
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.
translit(optional)Specifies the transliteration technique used. Value is a NMTOKEN.
xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
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 is a language.
Member of
model.startLike.headerGroups elements that may be document elements when the header module is invoked.
Contained By
meiContains a single MEI-conformant document, consisting of an MEI header and a musical text, either in isolation or as part of an meiCorpus element.
meiCorpusA group of related MEI documents, consisting of a header for the group, and one or more mei elements, each with its own complete header.
(MEI.header) Groups elements that may be document elements when the header module is invoked.
Corpus component declarations.
meiCorpusA group of related MEI documents, consisting of a header for the group, and one or more mei elements, each with its own complete header.
Component declarations that are shared between two or more modules.
meiContains 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
altIdMay contain a bibliographic identifier that does not fit within the meiHead element’s id attribute, for example because the identifier does not fit the definition of an XML id or because multiple identifiers are needed.
encodingDescDocuments 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.
extMetaProvides a container element for non-MEI metadata formats.
fileDescContains a full bibliographic description of the MEI file.
manifestationListA container for the descriptions of physical embodiments of an expression of a work.
revisionDescContainer for information about alterations that have been made to an MEI file.
workListGrouping mechanism for information describing non-bibliographic aspects of a text.
FRBR (Functional Requirements for Bibliographic Records) declarations.
manifestationListA container for the descriptions of physical embodiments of an expression of a work.
Metadata header component declarations.
altIdMay contain a bibliographic identifier that does not fit within the meiHead element’s id attribute, for example because the identifier does not fit the definition of an XML id or because multiple identifiers are needed.
encodingDescDocuments 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.
extMetaProvides a container element for non-MEI metadata formats.
fileDescContains a full bibliographic description of the MEI file.
revisionDescContainer for information about alterations that have been made to an MEI file.
workListGrouping mechanism for information describing non-bibliographic aspects of a text.
Remarks

In order to encourage uniformity in the provision of metadata across document types, this element is modelled on an element in the Text Encoding Initiative (TEI) standard. This information is often essential in a machine-readable environment. Five sub-elements must be encoded in the following order: altId(optional), fileDesc(required), encodingDesc(optional), workList(optional), and revisionDesc(optional). These elements and their sub-elements provide: a unique identifier for the MEI file, bibliographic information about the MEI file and its sources, information about the encoding process, information about the creation of the work being encoded, and statements regarding significant revisions of the file. The xml:lang attribute may be used to indicate the language in which the metadata content of the header is provided.

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 ident="meiHead" module="MEI.header">
<gloss versionDate="2022-05-18" xml:lang="en">MEI header</gloss>
<desc xml:lang="en">Supplies the descriptive and declarative metadata prefixed to every MEI-conformant text.</desc>
<classes>
<memberOf key="att.basic"/>
<memberOf key="att.bibl"/>
<memberOf key="att.labelled"/>
<memberOf key="att.lang"/>
<memberOf key="att.meiVersion"/>
<memberOf key="att.responsibility"/>
<memberOf key="model.startLike.header"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:ref name="altId"/>
</rng:zeroOrMore>
<rng:ref name="fileDesc"/>
<rng:optional>
<rng:ref name="encodingDesc"/>
</rng:optional>
<rng:optional>
<rng:ref name="workList"/>
</rng:optional>
<rng:optional>
<rng:ref name="manifestationList"/>
</rng:optional>
<rng:zeroOrMore>
<rng:ref name="extMeta"/>
</rng:zeroOrMore>
<rng:optional>
<rng:ref name="revisionDesc"/>
</rng: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 xml:lang="en">
<p>In order to encourage uniformity in the provision of metadata across document types, this element is modelled on an element in the Text Encoding Initiative (TEI) standard. This information is often essential in a machine-readable environment. Five sub-elements must be encoded in the following order: <gi scheme="MEI">altId</gi>(optional), <gi scheme="MEI">fileDesc</gi>(required), <gi scheme="MEI">encodingDesc</gi>(optional), <gi scheme="MEI">workList</gi>(optional), and <gi scheme="MEI">revisionDesc</gi>(optional). These elements and their sub-elements provide: a unique identifier for the MEI file, bibliographic information about the MEI file and its sources, information about the encoding process, information about the creation of the work being encoded, and statements regarding significant revisions of the file. The <att>xml:lang</att> attribute may be used to indicate the language in which the metadata content of the header is provided.</p>
</remarks>
</elementSpec>