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

Simple Type: text-direction

Description

The text-direction type is used to adjust and override the Unicode bidirectional text algorithm, similar to the W3C Internationalization Tag Set recommendation. Values are ltr (left-to-right embed), rtl (right-to-left embed), lro (left-to-right bidi-override), and rlo (right-to-left bidi-override). The default value is ltr. This type is typically used by applications that store text in left-to-right visual order rather than logical order. Such applications can use the lro value to better communicate with other applications that more fully support bidirectional text.

Derived By

Restricting xs:token

Enumeration
Value  Description 
ltr 
rtl 
lro 
rlo 
Referenced By
  • Attribute dir
Definition
<xs:simpleType name="text-direction">
  <xs:annotation>
    <xs:documentation>The text-direction type is used to adjust and override the Unicode bidirectional text algorithm, similar to the W3C Internationalization Tag Set recommendation. Values are ltr (left-to-right embed), rtl (right-to-left embed), lro (left-to-right bidi-override), and rlo (right-to-left bidi-override). The default value is ltr. This type is typically used by applications that store text in left-to-right visual order rather than logical order. Such applications can use the lro value to better communicate with other applications that more fully support bidirectional text.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:token">
    <xs:enumeration value="ltr" />
    <xs:enumeration value="rtl" />
    <xs:enumeration value="lro" />
    <xs:enumeration value="rlo" />
  </xs:restriction>
</xs:simpleType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301