recipient-country¶
iati-organisations/iati-organisation/document-link/recipient-country
This is the reference page for the XML element recipient-country
.
Definition¶
The recipient country that is the focus of the document. May be repeated for multiple countries.
Rules¶
This element may occur any number of times.
Attributes¶
- @code
ISO 3166-1 alpha-2 code for the country.
This attribute is required.
This value must be of type xsd:string.
This value should be on the Country codelist.
Example Usage¶
Example usage of
recipient-country
of a document-link
in an iati-organisation
.The
@code
attribute declares a valid code (AF) from the Country codelist. <document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
<title>
<narrative>Annual Report 2013</narrative>
</title>
<category code="B01" />
<language code="en" />
<document-date iso-date="2014-02-05" />
<recipient-country code="AF" />
</document-link>
The
recipient-country
element can be repeated in any document-link
.Example declaring multiple
recipient-country
elements for the same document-link
: <document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
<title>
<narrative>Country Report 2013</narrative>
<narrative xml:lang="fr">Rapport Pays 2013</narrative>
</title>
<description>
<narrative>Description of the document</narrative>
</description>
<category code="B01" />
<language code="en" />
<document-date iso-date="2014-02-05" />
<recipient-country code="AF" />
<recipient-country code="AX" />
<recipient-country code="AL" />
</document-link>