Styling elements (basic)
This document contains a <style> element that effectively says "color every <note> element blue." Because the <style> element lives within <global>, the rule applies to the entire document.
<mnx>
<global>
<measure-global>
<directions-global>
<time signature="4/4"/>
</directions-global>
</measure-global>
<style selector="note" color="#0080FF"/>
</global>
<part name="Music">
<measure>
<directions-part>
<clef sign="G" line="2"/>
</directions-part>
<sequence>
<event value="/4">
<note pitch="C5"/>
</event>
<event value="/4">
<note pitch="E5"/>
</event>
<event value="/4">
<note pitch="G5"/>
</event>
<event value="/4">
<note pitch="C6"/>
</event>
</sequence>
</measure>
</part>
</mnx>