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

Complex Type: formatted-text

Description

The formatted-text type represents a text element with text-formatting attributes.

Derived By

Extending xs:string

Attributes
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 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.
xml:space  xs:NCName (restriction)  No 
dir  text-direction  No 
enclosure  enclosure-shape  No 
Referenced By
Definition
<xs:complexType name="formatted-text">
  <xs:annotation>
    <xs:documentation>The formatted-text type represents a text element with text-formatting attributes.</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attributeGroup ref="text-formatting" />
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301