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.
<elementSpec ident="beam" module="MEI.cmn">
<desc xml:lang="en">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="schematron">
<constraint>
<sch:rule context="mei:beam[not(@copyof or @sameas)]">
<sch:assert test="count(descendant::*[local-name()='note' or local-name()='rest' or local-name()='chord'
or local-name()='space']) > 1">A beam that contains neither a copyof nor sameas attribute must have at least 2 note,
rest, chord, or space
descendants.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<remarks xml:lang="en">
<p>For beams that cross the bar line, use the <gi scheme="MEI">beamSpan</gi> element.
Secondary beams may be broken explicitly using the <att>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>beam.group</att> and
<att>beam.rests</att> attributes on these elements.</p>
</remarks>
</elementSpec>