This version is DEPRECATED, v2.03 is the latest version
This version is DEPRECATED, v2.03 is the latest version
iati-organisations/iati-organisation/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">
<category code="B01" />
<languagecode="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" />
<languagecode="fr"/>
<title>Annual Report 2013</title>
<title xml:lang="fr">Rapport annuel 2013</title>
</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: