]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/41i-PartNameDisplay-Override.xml
MusicXML: overriding part-name by part-name-display in score-part definition
[lilypond.git] / input / regression / musicxml / 41i-PartNameDisplay-Override.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.1 Partwise//EN"
3                                 "http://www.musicxml.org/dtds/partwise.dtd">
4 <score-partwise version="1.1">
5   <identification>
6     <miscellaneous>
7       <miscellaneous-field name="description">MusicXML allows part-name and
8             part-name-display in the score-part element. If part-name-display
9             is given, it overrides the part-name for display.
10
11             The first staff uses only part-name, while the second one (same
12             part-name) overrides it with a custom text. Similar for the
13             part-abbreviation used in subsequent staves.
14       </miscellaneous-field>
15     </miscellaneous>
16   </identification>
17   <part-list>
18     <score-part id="P1">
19       <part-name>Part name</part-name>
20       <part-abbreviation>abbrv.</part-abbreviation>
21     </score-part>
22     <score-part id="P2">
23       <part-name>Part name</part-name>
24       <part-name-display><display-text>Overridden Part Name</display-text></part-name-display>
25       <part-abbreviation>abbrv.</part-abbreviation>
26       <part-abbreviation-display><display-text>Overr.abbrv.</display-text></part-abbreviation-display>
27     </score-part>
28   </part-list>
29   <!--=========================================================-->
30   <part id="P1">
31     <measure number="1">
32       <attributes>
33         <divisions>1</divisions>
34       </attributes>
35       <note>
36         <pitch>
37           <step>C</step>
38           <octave>4</octave>
39         </pitch>
40         <duration>4</duration>
41         <voice>1</voice>
42         <type>whole</type>
43       </note>
44     </measure>
45     <measure number="2">
46       <print new-system="yes" />
47       <note>
48         <pitch>
49           <step>C</step>
50           <octave>4</octave>
51         </pitch>
52         <duration>4</duration>
53         <voice>1</voice>
54         <type>whole</type>
55       </note>
56     </measure>
57   </part>
58   <!--=========================================================-->
59   <part id="P2">
60     <measure number="1">
61       <attributes>
62         <divisions>1</divisions>
63       </attributes>
64       <note>
65         <pitch>
66           <step>C</step>
67           <octave>4</octave>
68         </pitch>
69         <duration>4</duration>
70         <voice>1</voice>
71         <type>whole</type>
72       </note>
73     </measure>
74     <measure number="2">
75       <print new-system="yes" />
76       <note>
77         <pitch>
78           <step>C</step>
79           <octave>4</octave>
80         </pitch>
81         <duration>4</duration>
82         <voice>1</voice>
83         <type>whole</type>
84       </note>
85     </measure>
86   </part>
87   <!--=========================================================-->
88 </score-partwise>