script
Script
The @script attribute specifies the language writing script of a of the content of the element with which it is associated, for example the value “Cyrl”.
Usage
Purpose: Like the @xml:lang attribute, the @script attribute is often associated with the <tbx:langSet> element, to specify the writing script of all the child elements in a language section. However, it can be associated with virtually any element to specify the writing script of the content of that element.
Values: Use values found for “script” in the IANA language subtag registry. Do not use deprecated values.
Note: Do not combine script and region values with the language value. Use the attribute @xml:lang to record the language. Use the @script attribute, and the <tbx:geographicalUsage> element for script and region, respectively.
You should omit the @script attribute when it makes no useful distinction (as for the primary or sole script of a language). In particular, you should omit the @script attribute if it matches the “Suppress-Script” field in the registry for the language you used.
Used on these Elements:
<tbx:crossReference>, <tbx:definition>, <tbx:entailedTerm>, <tbx:example>, <tbx:externalCrossReference>, <tbx:geographicalUsage>, <tbx:langSet>, <tbx:note>, <tbx:see>, <tbx:source>, <tbx:subjectField>, <tbx:term>, <tbx:usageNote>
Value | Meaning |
---|---|
Text, numbers, or special characters | The writing script of a language, such as “Cyrl” |
Restriction | This is an optional attribute; there is no default. |