For beams that cross the bar line, use the beamSpan element. Secondary beams may be broken explicitly using the breaksec attribute on the notes or chords under the beam. Automated beaming, as opposed to explicitly marked beams, may be indicated for an entire score, part or section by using the beam.group and beam.rests attributes on these elements.
<sch:rule context="mei:beam[not(@copyof)]">
<sch:assert test="count(descendant::*[local-name()='note' or local-name()='rest' or local-name()='chord'
or local-name()='space']) > 1">A beam without a copyof attribute must have at least 2 note, rest, chord, or space
descendants.</sch:assert>
</sch:rule>
<elementSpec ident="beam" module="MEI.cmn">
<desc>A container for a series of explicitly beamed events that begins and ends entirely
within
a measure.</desc>
<classes>
<memberOf
key="att.common"/>
<memberOf
key="att.facsimile"/>
<memberOf
key="att.beam.log"/>
<memberOf
key="att.beam.vis"/>
<memberOf
key="att.beam.ges"/>
<memberOf
key="att.beam.anl"/>
<memberOf
key="model.eventLike.cmn"/>
</classes>
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref
name="model.eventLike"
/>
<rng:ref
name="model.eventLike.cmn"
/>
<rng:ref
name="model.appLike"
/>
<rng:ref
name="model.editLike"
/>
<rng:ref
name="model.transcriptionLike"
/>
</rng:choice>
</rng:zeroOrMore>
</content>
<constraintSpec ident="When_not_copyof_beam_content" scheme="isoschematron">
<constraint>
<sch:rule context="mei:beam[not(@copyof)]">
<sch:assert test="count(descendant::*[local-name()='note' or local-name()='rest' or local-name()='chord'
or local-name()='space']) > 1">A beam without a copyof attribute must have at least 2 note, rest, chord, or space
descendants.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks>
<p part="N">For beams that cross the bar line, use the
<gi scheme="MEI">beamSpan</gi> element.
Secondary beams may be broken explicitly using the
<att scheme="TEI">breaksec</att> attribute on the
notes or chords under the beam. Automated beaming, as opposed to explicitly marked
beams,
may be indicated for an entire score, part or section by using the
<att scheme="TEI">beam.group</att> and
<att scheme="TEI">beam.rests</att> attributes on these elements.</p>
</remarks>
</elementSpec>