MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <text> element

The <text> element

Parent element: <lyric>

The text-element-data type represents a syllable or portion of a syllable for lyric text underlay. A hyphen in the string content should only be used for an actual hyphenated word. Language names for text elements come from ISO 639, with optional country subcodes from ISO 3166.

Content

xs:string

Attributes

Name Type Required? Description
color color No
dir text-direction No
font-family font-family No
font-size font-size No
font-style font-style No
font-weight font-weight No
letter-spacing number-or-normal No
line-through number-of-lines No
overline number-of-lines No
rotation rotation-degrees No
underline number-of-lines No
xml:lang No

Examples

This element is used in the following examples:

<assess> and <player><elision><end-line><end-paragraph><extend> (Lyric)<ipa><lyric><syllabic>Tutorial: Après un rêve