Language
<language></language>
From the schema
The ISO 639 language code for the target document, e.g. "en".
This element is of the type "codeType" as described in the IATI Common schema
Data type for an element that refers to an object that can have a code as well as human-readable text in different languages (e.g. a country or status).
value | use | description |
---|---|---|
@code | optional | Machine-readable code for the entity being described. |
This element also references "textAtts"
Attribute group for elements containing free text content.
value | use | description |
---|---|---|
@xml:lang | optional | http://www.w3.org/XML/1998/namespace |
Language
Example Usage
This is a new element for version 1.02. Previously, this was an attribute.
The code should be declared in any usage of this element:
<language code="en" /> <language code="fr" />
Additionally, a text description of the code can be provided:
<language code="fr" xml:lang="en">French</language> <language code="fr" xml:lang="fr">Francais</language>
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