You are here: MusicXML Reference > Score Schema (XSD) > Complex Types > Complex Type: text-element-data

Complex Type: text-element-data

Description

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.

Derived By

Extending xs:string

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 
Referenced By
Definition
<xs:complexType name="text-element-data">
  <xs:annotation>
    <xs:documentation>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.</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attributeGroup ref="font" />
      <xs:attributeGroup ref="color" />
      <xs:attributeGroup ref="text-decoration" />
      <xs:attributeGroup ref="text-rotation" />
      <xs:attributeGroup ref="letter-spacing" />
      <xs:attribute ref="xml:lang" />
      <xs:attributeGroup ref="text-direction" />
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301