language

iati-organisations/iati-organisation/document-link/language

This is the reference page for the XML element language.

Definition

The ISO 639 language code for the target document, e.g. “en”.

Attributes

Example Usage

Example usage of language in context of document-link element.
NB: This specifies the language of the document being linked to.
  <document-link format="application/vnd.oasis.opendocument.text" url="http:www.example.org/docs/report_en.odt">
   <category code="B01" />
   <language code="en" />
   <title>Annual Report 2013</title>
  </document-link>
It may be appropriate to repeat the document-link element if the document is available in other languages:
Note: This specifies the language of the document being linked to. In this example, the title element still uses xml:lang to declare the title in two languages.
  <document-link format="application/vnd.oasis.opendocument.text" url="http:www.example.org/docs/report_fr.odt">
   <category code="B01" />
   <language code="fr" />
   <title>Annual Report 2013</title>
   <title xml:lang="fr">Rapport annuel 2013</title>
  </document-link>

Changelog

1.02

Addition of a language element as a child of the document-link element: document-link/language/text() (0..1) - The ISO 639 code for the language of the document

1.01

This element did not exist

Developer tools

Find the source of this documentation on github:

Last updated on 2015-10-16