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.
<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>
<elementSpec ident="meiHead" module="MEI.header">
<desc>(MEI header) – 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 org="group">
<attDef ident="type" usage="opt">
<desc>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>Header is attached to a music document.</desc>
</valItem>
<valItem ident="corpus">
<desc>Header is attached to a corpus.</desc>
</valItem>
<valItem ident="independent">
<desc>Header is independent; i.e., not attached to either a music or a corpus
document.</desc>
</valItem>
</valList>
</attDef>
</attList>
<remarks>
<p part="N">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 scheme="TEI">xml:lang</att> attribute may be used to indicate
the language in which the metadata content of the header is provided.</p>
</remarks>
</elementSpec>