att.clefShape

Attributes that record the shape of a clef.
Module
Attributes
shape
shape(optional)Describes a clef’s shape. Value conforms to data.CLEFSHAPE.
shape(optional)Describes a clef’s shape. Value conforms to data.CLEFSHAPE.
Component declarations that are shared between two or more modules.
shape(optional)Describes a clef’s shape. Value conforms to data.CLEFSHAPE.
Available at
clefIndication of the exact location of a particular note on the staff and, therefore, the other notes as well.
Component declarations that are shared between two or more modules.
clefIndication of the exact location of a particular note on the staff and, therefore, the other notes as well.
Constraints

When @shape is present, @line must also be specified.

Declaration
<classSpec ident="att.clefShape" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes that record the shape of a clef.</desc>
<constraintSpec ident="shape_requires_line" scheme="schematron">
<constraint>
<sch:rule context="mei:clef[matches(@shape, '[FCG]')]">
<sch:assert test="@line">When @shape is present, @line must also be specified.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="shape" usage="opt">
<desc xml:lang="en">Describes a clef’s shape.</desc>
<datatype>
<rng:ref name="data.CLEFSHAPE"/>
</datatype>
</attDef>
</attList>
</classSpec>