<keyAccid>

(key accidental) – Accidental in a key signature.
Module MEI.shared
Attributes
@accid(optional)Captures a written accidental. Value conforms to data.ACCIDENTAL.EXPLICIT. att.accidental
@altsym(optional)Provides a way of pointing to a user-defined symbol. It must contain an ID of a <symbolDef> element elsewhere in the document. Value conforms to data.URI. att.altsym
@copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI. att.common.anl
@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. att.common.anl
@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. att.enclosingchars
@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. att.facsimile
@fontfam(optional)Contains the name of a font-family. Value conforms to data.FONTFAMILY. att.typography
@fontname(optional)Holds the name of a font. Value conforms to data.FONTNAME. att.typography
@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. att.typography
@fontstyle(optional)Records the style of a font, i.e, italic, oblique, or normal. Value conforms to data.FONTSTYLE. att.typography
@fontweight(optional)Used to indicate bold type. Value conforms to data.FONTWEIGHT. att.typography
@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.)keyAccid
@glyphname(optional)Glyph name. Value of datatype string. att.extsym
@glyphnum(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 of datatype a string matching the following regular expression: "(#x|U\+)[A-F0-9]+" . att.extsym
@label(optional)Provides a name or label for an element. The value may be any string. Value of datatype string. att.commonPart
@loc(optional)Holds the staff location of the feature. Value conforms to data.STAFFLOC. att.staffloc
@n(optional)Provides a number-like designation for an element. Value conforms to token. att.common
@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. att.common.anl
@oct(optional)Captures written octave information. Value conforms to data.OCTAVE. att.octave
@pname(optional)Contains a written pitch name. Value conforms to data.PITCHNAME. att.pitch
@prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces. att.common.anl
@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. att.common.anl
@synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces. att.common.anl
@when(optional)Indicates the point of occurrence of this feature along a time line. Its value must be the ID of a when element elsewhere in the document. Value conforms to data.URI. att.alignment
@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. att.xy
@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. att.commonPart
@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. att.id
@y(optional)Encodes an 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. att.xy
Member of
Contained by
MEI.sharedkeySig
May contain
Empty
Declaration
<classes>
<memberOf key="att.common"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.keyAccid.anl"/>
<memberOf key="att.keyAccid.ges"/>
<memberOf key="att.keyAccid.log"/>
<memberOf key="att.keyAccid.vis"/>
<memberOf key="model.keyAccidLike"/>
</classes>
<content>
<rng:empty/>
</content>
Remarks

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.

Constraint
One of the following is required: @x and @y attribute pair, @pname and @oct attribute pair, or @loc attribute.
<sch:rule context="mei:keyAccid">
<sch:assert test="(@x and @y) or (@pname and @oct) or @loc">One of the following is required: @x and @y attribute pair, @pname and @oct attribute pair, or @loc attribute.</sch:assert>
</sch:rule>