You are viewing VERSION 2.01 of IATI Standard Reference View another version
To search for organisations and projects in IATI data, see IATI data access tools
You are viewing VERSION 2.01 of IATI Standard Reference View another version
iati-activities/iati-activity/document-link/language
This is the reference page for the XML element language.
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.
ISO 639-1 language code
This attribute is required.
This value must be of type xsd:string.
This value should be on the Language codelist.
Example usage of language of a document-link in an iati-activity.
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="http:www.example.org/docs/report_en.odt">
<title>
<narrative>Project Report 2013</narrative>
<narrative xml:lang="fr">Rapport de projet 2013</narrative>
</title>
<category code="A01" />
<languagecode="en"/>
</document-link>
In some cases, a document-link may be in multiple languages. This is expressed by repeating the language element.
<document-link format="application/vnd.oasis.opendocument.text" url="http:www.example.org/docs/report.odt">
<title>
<narrative>Project Report 2013</narrative>
<narrative xml:lang="fr">Rapport de projet 2013</narrative>
</title>
<category code="A01" />
<languagecode="en"/>
<languagecode="fr"/>
</document-link>
Freetext is no longer allowed within this element.
In 2.01 this element usage rules were changed, to allow it to be repeated.
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
Find the source of this documentation on github: