iati-organisations/iati-organisation/document-link/recipient-country
This is the reference page for the XML element recipient-country
.
The recipient country that is the focus of the document. May be repeated for multiple countries.
This element may occur any number of times.
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 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-countrycode="AF">
<narrative>Afghanistan</narrative>
</recipient-country>
</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>
<category code="B01" />
<language code="en" />
<document-dateiso-date="2014-02-05"/>
<recipient-countrycode="AF">
<narrative>Afghanistan</narrative>
</recipient-country>
<recipient-country code="AX" />
<recipient-country code="AL" />
</document-link>
The recipient-country
element was added as a child element of document-link
.
Find the source of this documentation on github: