Skip to content

Commit

Permalink
Merge pull request #230 from w3c/229-grace-cue
Browse files Browse the repository at this point in the history
227: Fix to30.xsl to correctly remove cue element from grace cue notes
  • Loading branch information
Michael Good committed Jul 20, 2017
2 parents 075a277 + 67540f9 commit 916bc71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions schema/to30.xsl
Expand Up @@ -54,11 +54,10 @@
<!--
Earlier versions of MusicXML allow notes to have a
grace or cue element, but not both. Remove any cue
element that is not the first child element of a
note element.
element that follows a grace element.
-->
<xsl:template
match="note/cue[position() > 1]"/>
match="note/cue[preceding-sibling::grace]"/>

<!-- Remove new MusicXML 3.1 elements -->
<xsl:template
Expand Down

0 comments on commit 916bc71

Please sign in to comment.