<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 4.0 Partwise//EN"
                                "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="4.0">
  <identification>
    <miscellaneous>
      <miscellaneous-field name="description">An instrument change from one
          transposition (Clarinet in Eb) to another transposing instrument
          (Clarinet in Bb). The displayed instrument name should also be
          updated.

          The whole piece is in Bb major (sounding), so first the key signature
          should be one flat, after the change it should have no accidentals.

          Both the instrument name and instrument name abbreviation use the
          &lt;accidental-text&gt; element to display a proper ‘flat’
          glyph.</miscellaneous-field>
    </miscellaneous>
  </identification>
  <part-list>
    <score-part id="P1">
      <part-name></part-name>
      <part-name-display>
        <display-text>Clarinet in E</display-text>
        <accidental-text>flat</accidental-text>
      </part-name-display>
      <part-abbreviation-display>
        <display-text>Cl. (E</display-text>
        <accidental-text>flat</accidental-text>
        <display-text>)</display-text>
      </part-abbreviation-display>
    </score-part>
  </part-list>
  <!--=========================================================-->
  <part id="P1">
    <measure number="1">
      <attributes>
        <divisions>1</divisions>
        <key>
          <fifths>1</fifths>
          <mode>major</mode>
        </key>
        <time symbol="common">
          <beats>4</beats>
          <beat-type>4</beat-type>
        </time>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
        <transpose>
          <diatonic>2</diatonic>
          <chromatic>3</chromatic>
        </transpose>
      </attributes>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
    </measure>
    <measure number="2">
      <attributes>
        <key>
          <fifths>0</fifths>
          <mode>major</mode>
        </key>
        <transpose>
          <diatonic>-1</diatonic>
          <chromatic>-2</chromatic>
        </transpose>
      </attributes>
      <print>
        <part-name-display>
          <display-text>Clarinet in B</display-text>
          <accidental-text>flat</accidental-text>
        </part-name-display>
        <part-abbreviation-display>
          <display-text>Cl. (B</display-text>
          <accidental-text>flat</accidental-text>
          <display-text>)</display-text>
      </part-abbreviation-display>
      </print>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
    </measure>
    <measure number="3">
      <print new-system="yes"/>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
      <barline location="right">
        <bar-style>light-heavy</bar-style>
      </barline>
    </measure>
  </part>
  <!--=========================================================-->
</score-partwise>
