This version is DEPRECATED, v2.03 is the latest version
related-activity
iati-activities/iati-activity/related-activity
This is the reference page for the XML element related-activity
.
Definition
Another IATI activity related to this one. The ‘type’ attribute describes the type of relationship (e.g. parent, sibling). This does not need to be used to express funding relationships, since those are covered in individual transactions.
For the value of the @type attribute, see http://iatistandard.org/codelists/related_activity_type
Attributes
- @ref
Machine-readable identification string for the business object being described.
This value must be of type xsd:string.
- @type
A machine readable code describing the type of thing being referenced. The value should be available on a related codelist.
This value must be of type xsd:string.
This value must be on the RelatedActivityType codelist.
- @xml:lang
ISO 2 letter code specifying the language of text in this element.
This value should be on the Language codelist.
Example Usage
Example related-activity
with RelatedActivityType
code 1 and ref
for another iati-activity
: AA-AAA-123456789-6789:
<related-activity ref="AA-AAA-123456789-6789" type="1" />
Multiple related-activity
can be declared:
<related-activity ref="AA-AAA-123456789-6789" type="1" />
<related-activity ref="AA-AAA-123456789-XYZ" type="3" />
Additionally, a text title of the specific related iati-activity
can be provided:
<related-activity ref="AA-AAA-123456789-ABC" type="3">Related activity name</related-activity>
Developer tools
Find the source of this documentation on github: