@xml:lang

The attribute xml:lang specifies a language code that names the language of the text enclosed by the parent element. Values are inherited by all descendants except for those that have an @xml:lang and their descendants.

Values should adhere to BCP (Best Common Practices) 47, http://www.rfc-editor.org/rfc/bcp/bcp47.txt. For more details see the section called “Languages”.

Examples: 'eng' (English), 'grc' (classical Greek), 'lat' (Latin)

Formal Definition

language 

Defined at: TAN-core.rng

Used by: ~nontextual-reference, ~body-attributes-non-core, ~text-div, ~metadata-desc

Example 8.84. @xml:lang

<TAN-T id="tag:kalvesmaki.com,2014:tan-t:ar.cat.eng.1926.edghill:model-object-refs" TAN-version="2018">
   <head>
      .........
      <definitions>
         .........
         <person xml:id="kalvesmaki">
            .........
            <IRI>tag:kalvesmaki.com,2014:self</IRI>
            <name xml:lang="eng">Joel Kalvesmaki</name>
         </person>
         .........
         <role xml:id="editor">
            <IRI>http://schema.org/editor</IRI>
            <name xml:lang="eng">Editor</name>
         </role>
         .........
      </definitions>
      .........
   </head>
   <body xml:lang="eng">
      <div type="p" n="1">
         .........
      </div>
      <div type="p" n="2">
         .........
      </div>
      <div type="p" n="3">
         .........
      </div>
      .........
   </body>
</TAN-T>


[Note]Note

Taken from ar.cat.eng.1926.edghill.obj

Example 8.85. @xml:lang

         <div-type xml:id="par">
            <IRI>http://dbpedia.org/resource/Paragraph</IRI>
            <name xml:lang="eng">paragraph</name>
         </div-type>


[Note]Note

Taken from ar.cat.eng.1926.edghill.sem