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

Element: text

Description

Derived By

Type text-element-data

Attributes
Name  Type  Required?  Default  Description 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
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 
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 http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information.  The union allows for the 'un-declaration' of xml:lang with the empty string.
dir  text-direction  No 
Content Model

Contains text only.

Referenced By
Example

      <note default-x="80">
        <pitch>
          <step>F</step>
          <octave>4</octave>
        </pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="15">up</stem>
        <beam number="1">begin</beam>
        <lyric default-y="-73" name="verse" number="1">
          <syllabic>single</syllabic>
          <text>I</text>
        </lyric>
      </note>
      <note default-x="113">
        <pitch>
          <step>C</step>
          <octave>5</octave>
        </pitch>
        <duration>1</duration>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="15">up</stem>
        <beam number="1">continue</beam>
<lyric default-y="-73" name="verse" number="1">
          <syllabic>single</syllabic>
<text>will</text>
        </lyric>
      </note>

Definition

See lyric

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301