altsym(optional)Provides a way of pointing to a user-defined symbol. It must contain a reference to
an
ID of a symbolDef element elsewhere in the document.
Value conforms to data.URI.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity
bearing this attribute.
One or more values from data.URI, separated by spaces.
copyof(optional)Points to an element of which the current element is a copy.
Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic
fashion.
One or more values from data.URI, separated by spaces.
enclose(optional)Records the characters often used to mark accidentals, articulations, and sometimes
notes as having a cautionary or editorial function. For an example of cautionary
accidentals enclosed in parentheses, see Read, p. 131, ex. 9-14.
Value conforms to data.ENCLOSURE.
facs(optional)Permits the current element to reference a facsimile surface or image zone which
corresponds to it.
One or more values from data.URI, separated by spaces.
follows(optional)points to one or more events in a user-defined collection that are known to be
predecessors of the current element.
One or more values from data.URI, separated by spaces.
fontfam(optional)Contains the name of a font-family.
Value conforms to data.FONTFAMILY.
fontname(optional)Holds the name of a font.
Value conforms to data.FONTNAME.
fontsize(optional)Indicates the size of a font expressed in printers' points, i.e., 1/72nd of an inch,
relative terms, e.g., "small", "larger", etc., or percentage values relative to "normal"
size, e.g., "125%".
Value conforms to data.FONTSIZE.
fontstyle(optional)Records the style of a font, i.e, italic, oblique, or normal.
Value conforms to data.FONTSTYLE.
fontweight(optional)Used to indicate bold type.
Value conforms to data.FONTWEIGHT.
form(optional)Specifies whether enharmonic (written) values or implicit ("perform-able") values
are
allowed.
Allowed values are:
"implicit" (Only performed values (sharp, flat, natural) allowed.), "explicit" (All enharmonic (written) values allowed.)
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Allowed values are:
"smufl" (Standard Music Font Layout.)
glyph.name(optional)Glyph name.
Value of datatype string.
glyph.num(optional)Numeric glyph reference in hexadecimal notation, e.g. "#xE000" or "U+E000". N.B. SMuFL
version 1.18 uses the range U+E000 - U+ECBF.
Value conforms to data.HEXNUM.
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Value conforms to data.URI.
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 of datatype string.
loc(optional)Holds the staff location of the feature.
Value conforms to data.STAFFLOC.
n(optional)Provides a number-like designation that indicates an element's position in a sequence
of similar elements. May not contain space characters.
Value conforms to data.WORD.
next(optional)Used to point to the next event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
oct(optional)Captures written octave information.
Value conforms to data.OCTAVE.
pname(optional)Contains a written pitch name.
Value conforms to data.PITCHNAME.
precedes(optional)Points to one or more events in a user-defined collection that are known to be
successors of the current element.
One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
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.
sameas(optional)Points to an element that is the same as the current element but is not a literal
copy
of the current element.
One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element.
One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient
classification scheme or typology that employs single-token labels.
One or more values of datatype NMTOKEN, separated by spaces.
x(optional)Encodes an x coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
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 of datatype ID.
y(optional)Encodes a y coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
form(optional)Specifies whether enharmonic (written) values or implicit ("perform-able") values
are
allowed.
Allowed values are:
"implicit" (Only performed values (sharp, flat, natural) allowed.), "explicit" (All enharmonic (written) values allowed.)
(MEI.shared) Attributes common to many elements.
(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 of datatype 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 of datatype string.
(MEI.shared) Attributes that specify element-to-element relationships.
copyof(optional)Points to an element of which the current element is a copy.
Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic
fashion.
One or more values from data.URI, separated by spaces.
follows(optional)points to one or more events in a user-defined collection that are known to be
predecessors of the current element.
One or more values from data.URI, separated by spaces.
next(optional)Used to point to the next event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
precedes(optional)Points to one or more events in a user-defined collection that are known to be
successors of the current element.
One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
sameas(optional)Points to an element that is the same as the current element but is not a literal
copy
of the current element.
One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element.
One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes used to supply a number-like designation for an element.
n(optional)Provides a number-like designation that indicates an element's position in a sequence
of similar elements. May not contain space characters.
Value conforms to data.WORD.
(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 which can be used to classify features.
type(optional)Designation which characterizes the element in some sense, using any convenient
classification scheme or typology that employs single-token labels.
One or more values of datatype NMTOKEN, separated by spaces.
(MEI.shared) Attributes which can be used to classify features.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity
bearing this attribute.
One or more values from data.URI, separated by spaces.
(MEI.facsimile) Attributes that associate a feature corresponding with all or part
of an image.
facs(optional)Permits the current element to reference a facsimile surface or image zone which
corresponds to it.
One or more values from data.URI, separated by spaces.
(MEI.analytical) Analytical domain attributes.
(MEI.gestural) Gestural domain attributes.
(MEI.shared) Logical domain attributes.
(MEI.shared) Attributes for capturing momentary pitch inflection.
(MEI.shared) Attributes that record written pitch name and octave number.
(MEI.shared) Attributes that record written pitch name.
pname(optional)Contains a written pitch name.
Value conforms to data.PITCHNAME.
(MEI.shared) Attributes that record written octave.
oct(optional)Captures written octave information.
Value conforms to data.OCTAVE.
(MEI.visual) Visual domain attributes.
(MEI.usersymbols) Attributes supplying pointers to user-defined symbols.
altsym(optional)Provides a way of pointing to a user-defined symbol. It must contain a reference to
an
ID of a symbolDef element elsewhere in the document.
Value conforms to data.URI.
(MEI.shared) Attributes that capture characters used to enclose symbols having a cautionary
or editorial function.
enclose(optional)Records the characters often used to mark accidentals, articulations, and sometimes
notes as having a cautionary or editorial function. For an example of cautionary
accidentals enclosed in parentheses, see Read, p. 131, ex. 9-14.
Value conforms to data.ENCLOSURE.
(MEI.externalsymbols) Attributes used to associate MEI features with corresponding
glyphs in an externally-defined standard such as SMuFL.
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Allowed values are:
"smufl" (Standard Music Font Layout.)
glyph.name(optional)Glyph name.
Value of datatype string.
glyph.num(optional)Numeric glyph reference in hexadecimal notation, e.g. "#xE000" or "U+E000". N.B. SMuFL
version 1.18 uses the range U+E000 - U+ECBF.
Value conforms to data.HEXNUM.
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Value conforms to data.URI.
(MEI.shared) Attributes that identify location on a staff in terms of lines and spaces.
loc(optional)Holds the staff location of the feature.
Value conforms to data.STAFFLOC.
(MEI.shared) Typographical attributes.
fontfam(optional)Contains the name of a font-family.
Value conforms to data.FONTFAMILY.
fontname(optional)Holds the name of a font.
Value conforms to data.FONTNAME.
fontsize(optional)Indicates the size of a font expressed in printers' points, i.e., 1/72nd of an inch,
relative terms, e.g., "small", "larger", etc., or percentage values relative to "normal"
size, e.g., "125%".
Value conforms to data.FONTSIZE.
fontstyle(optional)Records the style of a font, i.e, italic, oblique, or normal.
Value conforms to data.FONTSTYLE.
fontweight(optional)Used to indicate bold type.
Value conforms to data.FONTWEIGHT.
(MEI.shared) Output coordinate attributes. Some elements may have their exact rendered
*output* coordinates recorded. x and y attributes indicate where to place the rendered
output. Recording the coordinates of a feature in a facsimile requires the use of
the facs attribute.
x(optional)Encodes an x coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
y(optional)Encodes a y coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
External symbols component declarations.
glyph.auth(optional)A name or label associated with the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Allowed values are:
"smufl" (Standard Music Font Layout.)
glyph.name(optional)Glyph name.
Value of datatype string.
glyph.num(optional)Numeric glyph reference in hexadecimal notation, e.g. "#xE000" or "U+E000". N.B. SMuFL
version 1.18 uses the range U+E000 - U+ECBF.
Value conforms to data.HEXNUM.
glyph.uri(optional)The web-accessible location of the controlled vocabulary from which the value of
glyph.name or glyph.num is taken.
Value conforms to data.URI.
Facsimile component declarations.
facs(optional)Permits the current element to reference a facsimile surface or image zone which
corresponds to it.
One or more values from data.URI, separated by spaces.
Component declarations that are shared between two or more modules.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity
bearing this attribute.
One or more values from data.URI, separated by spaces.
copyof(optional)Points to an element of which the current element is a copy.
Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic
fashion.
One or more values from data.URI, separated by spaces.
enclose(optional)Records the characters often used to mark accidentals, articulations, and sometimes
notes as having a cautionary or editorial function. For an example of cautionary
accidentals enclosed in parentheses, see Read, p. 131, ex. 9-14.
Value conforms to data.ENCLOSURE.
follows(optional)points to one or more events in a user-defined collection that are known to be
predecessors of the current element.
One or more values from data.URI, separated by spaces.
fontfam(optional)Contains the name of a font-family.
Value conforms to data.FONTFAMILY.
fontname(optional)Holds the name of a font.
Value conforms to data.FONTNAME.
fontsize(optional)Indicates the size of a font expressed in printers' points, i.e., 1/72nd of an inch,
relative terms, e.g., "small", "larger", etc., or percentage values relative to "normal"
size, e.g., "125%".
Value conforms to data.FONTSIZE.
fontstyle(optional)Records the style of a font, i.e, italic, oblique, or normal.
Value conforms to data.FONTSTYLE.
fontweight(optional)Used to indicate bold type.
Value conforms to data.FONTWEIGHT.
form(optional)Specifies whether enharmonic (written) values or implicit ("perform-able") values
are
allowed.
Allowed values are:
"implicit" (Only performed values (sharp, flat, natural) allowed.), "explicit" (All enharmonic (written) values allowed.)
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 of datatype string.
loc(optional)Holds the staff location of the feature.
Value conforms to data.STAFFLOC.
n(optional)Provides a number-like designation that indicates an element's position in a sequence
of similar elements. May not contain space characters.
Value conforms to data.WORD.
next(optional)Used to point to the next event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
oct(optional)Captures written octave information.
Value conforms to data.OCTAVE.
pname(optional)Contains a written pitch name.
Value conforms to data.PITCHNAME.
precedes(optional)Points to one or more events in a user-defined collection that are known to be
successors of the current element.
One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection.
One or more values from data.URI, separated by spaces.
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.
sameas(optional)Points to an element that is the same as the current element but is not a literal
copy
of the current element.
One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element.
One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient
classification scheme or typology that employs single-token labels.
One or more values of datatype NMTOKEN, separated by spaces.
x(optional)Encodes an x coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
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 of datatype ID.
y(optional)Encodes a y coordinate for a feature in an output coordinate system. When it is
necessary to record the placement of a feature in a facsimile image, use the facs
attribute.
Value of datatype decimal.
User-defined symbols component declarations.
altsym(optional)Provides a way of pointing to a user-defined symbol. It must contain a reference to
an
ID of a symbolDef element elsewhere in the document.
Value conforms to data.URI.
Member of
model.keyAccidLikeGroups elements that represent accidentals in a key signature.
corr(correction) – Contains the correct form of an apparent erroneous passage.
damageContains an area of damage to the physical medium.
del(deletion) – Contains information deleted, marked as deleted, or otherwise indicated
as
superfluous or spurious in the copy text by an author, scribe, annotator, or corrector.
corr(correction) – Contains the correct form of an apparent erroneous passage.
damageContains an area of damage to the physical medium.
del(deletion) – Contains information deleted, marked as deleted, or otherwise indicated
as
superfluous or spurious in the copy text by an author, scribe, annotator, or corrector.
orig(original) – Contains material which is marked as following the original, rather than
being normalized or corrected.
reg(regularization) – Contains material which has been regularized or normalized in some
sense.
restoreIndicates restoration of material to an earlier state by cancellation of an editorial
or
authorial marking or instruction.
sicContains apparently incorrect or inaccurate material.
suppliedContains material supplied by the transcriber or editor for any reason.
unclearContains material that cannot be transcribed with certainty because it is illegible
or
inaudible in the source.
Component declarations that are shared between two or more modules.
It is a semantic error not to provide one of the following: the x and
y pair of attributes, the pname and oct pair of attributes,
or the loc attribute.
One of the following is required: @x and @y attribute pair, @pname attribute, or @loc
attribute.
<sch:rule context="mei:keyAccid">
<sch:assert test="(@x and @y) or @pname or @loc">One of the following is required: @x and
@y attribute pair, @pname attribute, or @loc attribute. </sch:assert>
</sch:rule>
Declaration
<elementSpec ident="keyAccid"module="MEI.shared">
<desc>(key accidental) – Accidental in a key signature.</desc>
<sch:assert test="(@x and @y) or @pname or @loc">One of the following is required: @x and
@y attribute pair, @pname attribute, or @loc attribute. </sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList org="group">
<attDef ident="form"usage="opt">
<desc>Specifies whether enharmonic (written) values or implicit ("perform-able") values
are
allowed.</desc>
<valList type="closed">
<valItem ident="implicit">
<desc>Only performed values (sharp, flat, natural) allowed.</desc>