xml:lang

In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . .

Attribute Information

Used By

Complex Type SimpleLiteral
Attribute Group xml:specialAttrs

Source

<xs:attribute name="lang" type="xs:language">
  <xs:annotation>
    <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . . .</xs:documentation>
  </xs:annotation>
</xs:attribute>

Sample

< dcx:descriptionSet xmlns:dcx = "http://purl.org/dc/xml/" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns = "http://www.w3.org/1999/xhtml" >

< dcx:description dcx:resourceURI = "http://dublincore.org/pages/home" >

< dc:title>

< dcx:valueString xml:lang = "en-GB" >

DCMI Home Page

</ dcx:valueString>

</ dc:title>

< dc:description>

< dcx:valueString xml:lang = "en-GB" >

The home page provides an overview of the content of the DCMI Web site. It also displays current news items.

</ dcx:valueString>

< dcx:valueString xml:lang = "es-ES" >

El Home Page proporciona una descripción del contenido del sitio del Web de DCMI. Además presenta noticias actuales.

</ dcx:valueString>

< dcx:XMLRepresentation>

< div xml:lang = "en-GB" >

< p>

The home page provides an overview of the content of the

< a title = "DCMI Web Site" href = "/" >

DCMI Web site

</ a>

. It also displays current news items.

</ p>

</ div>

</ dcx:XMLRepresentation>