xml:lang

Language

Definition

The language of the intellectual content of an article or other type of material.

Remarks

Recommended best practice is to use values as defined in RFC 1766, typically 2-letter language codes such as “FR” (French), “EN” (English), and “DE” (German), including hyphenated differentiators such as “EN-AU” (Australian English) and “EN-US” (US English). These values are NOT case sensitive, so “EN” equals “en”.

Processing and Conversion Note: All other xml:lang attributes within an article inherit the value set on the <article> element unless they are explicitly set with their own xml:lang attributes.

Attribute Values

In Elements

<article> Article
<response> Response
<sub-article> Sub-Article
Value Meaning
An alphanumeric string A 2-letter language code (such as “EN”), including any hyphenated differentiators (such as “EN-AU”). The values are not case sensitive.
Default value: EN

In Elements

<abstract> Abstract
<alt-text> Alternate Text Name (For a Figure, Etc.)
<array> Array (Simple Tabular Array)
<article-title> Article Title
<boxed-text> Boxed Text
<speech> Speech
<disp-quote> Quote, Displayed
<fig> Figure
<fn> Footnote
<kwd-group> Keyword Group
<long-desc> Long Description
<p> Paragraph
<preformat> Preformatted Text
<sec> Section
<source> Source
<subj-group> Subject Group
<supplementary-material> Supplementary Material
<table-wrap> Table Wrapper
<trans-abstract> Translated Abstract
<trans-source> Translated Source
<trans-title> Translated Title
<verse-group> Verse Form for Poetry
Value Meaning
An alphanumeric string A 2-letter language code (such as “EN”), including any hyphenated differentiators (such as “EN-AU”). The values are not case sensitive.
Restriction: This attribute may be specified if the element is used.