<classSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="att.partIdent" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes for identifying the part in which the current feature appears.</desc>
<attList>
<attDef ident="part" usage="opt">
<desc xml:lang="en">Indicates the part in which the current feature should appear. Use 'all' when the
feature
should occur in every part or 'none' when the feature should not appear in any part.</desc>
</attDef>
<attDef ident="partstaff" usage="opt">
<desc xml:lang="en">Signifies the part staff on which a notated feature occurs. Use 'all' when the
feature should occur on every staff.</desc>
<constraintSpec ident="check_partstaff_attr_all" scheme="schematron">
<constraint>
<sch:rule context="@partstaff[some $i in tokenize(., '\s+') satisfies (matches($i, '^all$'))]">
<sch:assert test="count(tokenize(., '\s+')) = 1">'all' cannot be mixed with other
values.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>