Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.42 KB

File metadata and controls

34 lines (24 loc) · 1.42 KB

Example Usage

Example default-aid-type for an iati-activity.

The @code attribute declares a valid code from the specified codelist.
The @vocabulary attribute declares a valid code (1) from the AidTypeVocabulary codelist.
<default-aid-type code="A01" vocabulary="1" />

The default-aid-type element can be repeated in any iati-activity.

.. literalinclude:: ../../activity-standard-example-annotated.xml
        :language: xml
        :start-after: <!--default-aid-type starts-->
        :end-before: <!--default-aid-type ends-->

The vocabulary is used to declare which AidType list is in use. If omitted, an AidType Vocabulary of 1 (OECD DAC) is assumed.

Note: The aid-type element can override the default-aid-type value set in iati-activity

Changelog

2.03

The default-aid-type element can be reported multiple times within a iati-activity element added. The @code attribute definition was updated. The @vocabulary attribute was added.

2.01

Freetext is no longer allowed within this element.