MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Examples > <with-bar>

<with-bar>

with-bar-element

<measure number="9" width="120">
   <direction placement="below">
      <direction-type>
         <words default-y="-61" font-family="Helvetica" font-size="8.5" relative-x="-9">w/bar</words>
      </direction-type>
      <direction-type>
         <bracket dash-length="5.4" default-y="-60" line-end="none" line-type="dashed" number="1" space-length="5.4" type="start"/>
      </direction-type>
   </direction>
   <direction placement="above">
      <direction-type>
         <words default-x="20" default-y="33" halign="center">-½</words>
      </direction-type>
   </direction>
   <note default-x="13">
      <pitch>
         <step>E</step>
         <octave>5</octave>
      </pitch>
      <duration>4</duration>
      <voice>1</voice>
      <type>quarter</type>
      <stem default-y="-40">down</stem>
      <notations>
         <technical>
            <bend>
               <bend-alter>-1</bend-alter>
               <with-bar default-x="0" default-y="8" placement="above">dip</with-bar>
            </bend>
         </technical>
      </notations>
   </note>
   <direction placement="above">
      <direction-type>
         <words default-x="78" default-y="33" halign="center">-½</words>
      </direction-type>
   </direction>
   <note default-x="66">
      <pitch>
         <step>E</step>
         <octave>5</octave>
      </pitch>
      <duration>4</duration>
      <voice>1</voice>
      <type>quarter</type>
      <stem default-y="-40">down</stem>
      <notehead filled="yes" parentheses="yes">normal</notehead>
      <notations>
         <technical>
            <bend>
               <bend-alter>-1</bend-alter>
               <with-bar default-x="0" default-y="8" placement="above">dip</with-bar>
            </bend>
         </technical>
      </notations>
   </note>
   <direction>
      <direction-type>
         <bracket line-end="both" number="1" type="stop"/>
      </direction-type>
   </direction>
</measure>