MusicXML provides for multiple elements with different styling to be combined into a single direction with its own text flow, through successive <words> and/or <direction-type> elements.
There are ways of arranging for both <div>-like and <span>-like behavior (to put this in HTML terms) although the MusicXML schema isn't crystal clear on when elements get strung together horizontally vs. vertically.
Since CWMNX is more explicitly aligned with web standards, CWMNX should perhaps attempt a way of organizing and styling spans and blocks that is more in line with the way that HTML handles these concepts, including making use of CSS style properties for text.
MusicXML provides for multiple elements with different styling to be combined into a single direction with its own text flow, through successive
<words>
and/or<direction-type>
elements. There are ways of arranging for both<div>
-like and<span>
-like behavior (to put this in HTML terms) although the MusicXML schema isn't crystal clear on when elements get strung together horizontally vs. vertically.Since CWMNX is more explicitly aligned with web standards, CWMNX should perhaps attempt a way of organizing and styling spans and blocks that is more in line with the way that HTML handles these concepts, including making use of CSS style properties for text.