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.
<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>
<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>