This version is DEPRECATED, v2.03 is the latest version
This version is DEPRECATED, v2.03 is the latest version
iati-activities/iati-activity/document-link/language
This is the reference page for the XML element language
.
The ISO 639 language code for the target document, e.g. “en”.
Machine readable code for the entity being described. The value should be available on a related codelist.
This value must be of type xsd:string.
This value should be on the Language codelist.
ISO 2 letter code specifying the language of text in this element.
This value should be on the Language codelist.
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">
<title>Project report 2013</title>
<category code="A01" />
<languagecode="en"/>
</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 text in two languages.
<document-link format="application/vnd.oasis.opendocument.text" url="http:www.example.org/docs/report_fr.odt">
<title>Project report 2013</title>
<title xml:lang="fr">Rapport de projet 2013</title>
<category code="B01" />
<languagecode="fr"/>
</document-link>
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
This element did not exist
Find the source of this documentation on github: