MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Data Types > The text-direction data type

The text-direction data type

The text-direction type is used to adjust and override the Unicode bidirectional text algorithm, similar to the Directionality data category in 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.

Allowed values

Base type: xs:token

lro
ltr
rlo
rtl

Where is this type used?

<accidental-text> — “dir” attribute

<credit-symbol> — “dir” attribute

<credit-words> — “dir” attribute

<display-text> — “dir” attribute

<footnote> — “dir” attribute

<rehearsal> — “dir” attribute

<symbol> — “dir” attribute

<text> — “dir” attribute

<words> — “dir” attribute