<staffGrp>

(staff group) – A group of bracketed or braced staves.
Module MEI.shared
Attributes
@barthru(optional)Indicates whether bar lines go across the space between staves (true) or are only drawn across the lines of each staff (false). Value conforms to data.BOOLEAN. att.staffGrp.vis
@decls(optional)Identifies one or more metadata elements within the header, which are understood to apply to the element bearing this attribute and its content. One or more values from data.URI, separated by spaces. att.declaring
@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
@instr(optional)Provides a way of pointing to a MIDI instrument definition. It must contain the ID of an <instrDef> element elsewhere in the document. Value conforms to data.URI. att.instrumentident
@label(optional)Provides a name or label for an element. The value may be any string. Value of datatype string. att.commonPart
@label.abbr(optional)Provides a label for a group of staves on pages after the first page. Usually, this label takes an abbreviated form. Value of datatype string. att.labels.addl
@n(optional)Provides a number-like designation for an element. Value conforms to token. att.common
@symbol(optional)Specifies the symbol used to group a set of staves. Allowed values are: "brace" (Curved symbol, i.e., {.), "bracket" (Square symbol, i.e., [, but with curved/angled top and bottom segments.), "bracketsq" (Square symbol, i.e., [, with horizontal top and bottom segments.), "line" (Line symbol, i.e., |, (wide) line without top and bottom curved/horizontal segments.), "none" (Grouping symbol missing.)att.staffgroupingsym
@visible(optional)Indicates if a feature should be rendered when the notation is presented graphically or sounded when it is presented in an aural form. Value conforms to data.BOOLEAN. att.visibility
@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
Member of
Contained by
MEI.critapplem rdg
MEI.neumessyllable
MEI.sharedscoreDef staffGrp
May contain
MEI.midiinstrDef
Declaration
<classes>
<memberOf key="att.common"/>
<memberOf key="att.declaring"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.staffGrp.log"/>
<memberOf key="att.staffGrp.vis"/>
<memberOf key="att.staffGrp.ges"/>
<memberOf key="att.staffGrp.anl"/>
<memberOf key="model.staffGrpLike"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:ref name="grpSym" />
</rng:zeroOrMore>
<rng:zeroOrMore>
<rng:ref name="model.labelLike" />
</rng:zeroOrMore>
<rng:zeroOrMore>
<rng:ref name="model.instrDefLike" />
</rng:zeroOrMore>
<rng:oneOrMore>
<rng:choice>
<rng:ref name="model.staffGrpLike" />
<rng:ref name="model.staffDefLike" />
</rng:choice>
</rng:oneOrMore>
<rng:zeroOrMore>
<rng:ref name="grpSym" />
</rng:zeroOrMore>
</content>
Remarks

System is the more proper name for this concept (Read, p. 37-38). Bracketed staff groups may contain other bracketed or braced staff groups or single staves. See Read, p. 35-38, examples p. 434, 438.

Constraint
Each staffDef must have a unique value for the n attribute.
<sch:rule context="mei:staffGrp">
<sch:let name="countstaves" value="count(descendant::mei:staffDef)"/>
<sch:let name="countuniqstaves" value="count(distinct-values(descendant::mei:staffDef/@n))"/>
<sch:assert test="$countstaves eq $countuniqstaves">Each staffDef must have a unique value for the n attribute.</sch:assert>
</sch:rule>