This is the reference page for the XML element language. See also the relevant overview page: Result


The ISO 639-1 language code in which target document is written, e.g. “en”. Can be repeated to describe multi-lingual documents.


This element may occur any number of times.


Example Usage

Example usage of language of a document-link in a indicator in a result element.
The @language attribute declares a valid code (en) from the Language codelist.
Note: This specifies the language of the document being linked to.
   <document-link format="application/vnd.oasis.opendocument.text" url="">
     <narrative>Results Report 2013</narrative>
      <narrative>Report of results</narrative>
    <category code="A01" />
    <language code="en" />
    <document-date iso-date="2014-02-05" />
In some cases, a document-link may be in multiple languages. This is expressed by repeating the language element.



The optional language element of a document-link in a indicator in a result element was added.

Developer tools

Find the source of this documentation on github:

Last updated on 2018-02-19