MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Examples > <ending>

<ending>

ending-element

<part id="P1">
   <measure number="28" width="169">
      <barline location="left">
         <ending number="1,2" type="start" default-y="30" end-length="15">1., 2.</ending>
      </barline>
      <note>
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem>down</stem>
      </note>
      <note>
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem>down</stem>
      </note>
      <barline location="right">
         <bar-style>light-heavy</bar-style>
         <ending number="1,2" type="stop"/>
         <repeat direction="backward" winged="none"/>
      </barline>
   </measure>
   <measure number="29" width="151">
      <barline location="left">
         <ending number="3" type="start" default-y="30" end-length="15">3.</ending>
      </barline>
      <note>
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem>down</stem>
      </note>
      <note>
         <pitch>
            <step>G</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem>down</stem>
      </note>
   </measure>
</part>