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

Element: credit [group score-header]

Description

The credit type represents the appearance of the title, composer, arranger, lyricist, copyright, dedication, and other text and graphics that commonly appears on the first page of a score. The credit-words and credit-image elements are similar to the words and image elements 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.

Derived By

Type credit

Attributes
Name  Type  Required?  Default  Description 
page  xs:positiveInteger  No  The page attribute for the credit element specifies the page number where the credit should appear. This is an integer value that starts with 1 for the first page. Its value is 1 by default. Since credits occur before the music, these page numbers do not refer to the page numbering specified by the print element's page-number attribute.
Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Default  Description 
  1..1 
credit-type  xs:string  0..*  The credit-type element indicates the purpose behind a credit. Multiple types of data may be combined in a single credit, so multiple elements may be used. Standard values include page number, title, subtitle, composer, arranger, lyricist, and rights.
link  link  0..*  The link type serves as an outgoing simple XLink. It is also used to connect a MusicXML score with a MusicXML opus. If a relative link is used within a document that is part of a compressed MusicXML file, the link is relative to the  root folder of the zip file.
bookmark  bookmark  0..*  The bookmark type serves as a well-defined target for an incoming simple XLink.
  1..1 
credit-image  image  1..1  The credit-image element is similar to the image elements 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.
  1..1 
credit-words  formatted-text  1..1 

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.

  0..* 
link  link  0..*  The link type serves as an outgoing simple XLink. It is also used to connect a MusicXML score with a MusicXML opus. If a relative link is used within a document that is part of a compressed MusicXML file, the link is relative to the  root folder of the zip file.
bookmark  bookmark  0..*  The bookmark type serves as a well-defined target for an incoming simple XLink.
credit-words  formatted-text  1..1 

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.

Referenced By
Example

  <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>
  </credit>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301