You are viewing VERSION 1.04 of IATI Standard Reference View another version
This version is DEPRECATED, v2.03 is the latest version
condition
iati-activities/iati-activity/conditions/condition
This is the reference page for the XML element condition
.
Definition
Description of one condition attached to the activity.
Attributes
- @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 ConditionType 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 condition
attached, with ConditionType
code 1 (Policy):
<conditions attached="1">
<condition type="1">Conditions text</condition>
</conditions>
From version 1.04, the schema allows the xml:lang
attribute to also be included in the sub-element condition
|
| Example of an iati-activity
with two conditions
, declared in the default language of en, and also fr:
<conditions attached="1">
<condition type="1">Conditions text</condition>
<condition xml:lang="fr" type="1">Conditions texte</condition>
<condition type="2">Conditions text</condition>
<condition xml:lang="fr" type="2">Conditions texte</condition>
</conditions>
Changelog
1.04
It was always the intention of the standard that a condition could be specified in different languages but the schema has never allowed it.
This has now been fixed.
Developer tools
Find the source of this documentation on github: