att.clefShape

Attributes that record the shape of a clef.
Module
Attributes
@shape
@shape(optional)Describes a clef’s shape.
@shape(optional)Describes a clef’s shape.
@shape(optional)Describes a clef’s shape.
Available at
<clef>Indication of the exact location of a particular note on the staff and, therefore, the other notes as well.
<clef>Indication of the exact location of a particular note on the staff and, therefore, the other notes as well.
Constraints

An 'F', 'C', or 'G' clef requires that its position be specified using @line or @loc.

Declaration
<classSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" 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_or_loc" scheme="schematron">
<constraint>
<sch:rule context="mei:clef[matches(@shape, '[FCG]')]">
<sch:assert test="@line or @loc">An 'F', 'C', or 'G' clef requires that its position be specified using @line or @loc.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="shape" usage="opt">
<desc xml:lang="en">Describes a clef’s shape.</desc>
<datatype>
<dataRef key="data.CLEFSHAPE"/>
</datatype>
</attDef>
</attList>
</classSpec>