<classSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="att.staffGrpIdent" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes for identifying the staff group associated with the current feature.</desc>
<attList>
<attDef ident="staffgrp" usage="opt">
<desc xml:lang="en">Signifies the staff group to which a control event applies. Mandatory when applicable.</desc>
<datatype maxOccurs="unbounded">
<rng:data type="positiveInteger"/>
</datatype>
<constraintSpec ident="check_staffgrpTarget" scheme="schematron">
<constraint>
<sch:rule context="@staffgrp">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@staffgrp attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies $i=//mei:staffGrp/@n">Each
value in @staffgrp should correspond to the @n attribute of a staffGrp
element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>