You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: credit-words

Element: credit-words


The credit-words element is similar to the words element for directions. However, since the credit is not part of a measure, the default-x and default-y attributes adjust the origin relative to the bottom left-hand corner of the first page. The enclosure for credit-words is none by default.

By default, a series of credit-words elements within a single credit element follow one another in sequence visually. Non-positional formatting attributes are carried over from the previous element by default.

Derived By

Type formatted-text

Name  Type  Required?  Default  Description 
justify  left-center-right  No 
default-x  tenths  No 
default-y  tenths  No 
relative-x  tenths  No 
relative-y  tenths  No 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
halign  left-center-right  No 
valign  valign  No  The valign attribute is used to indicate vertical alignment to the top, middle, bottom, or baseline of the text or image. Defaults are implementation-dependent.
underline  number-of-lines  No 
overline  number-of-lines  No 
line-through  number-of-lines  No 
rotation  rotation-degrees  No 
letter-spacing  number-or-normal  No 
line-height  number-or-normal  No 
xml:lang  xs:anySimpleType (union)  No  Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.  See RFC 3066 at and the IANA registry at for further information.  The union allows for the 'un-declaration' of xml:lang with the empty string.
xml:space  xs:NCName (restriction)  No 
dir  text-direction  No 
enclosure  enclosure-shape  No 
Content Model

Contains text only.

Referenced By

  <credit page="1">
    <credit-words default-x="1290" default-y="1552" font-size="24" justify="center" valign="top">Chopin Etude in Eb Minor</credit-words>


See credit


MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301