This version is DEPRECATED, v2.03 is the latest version
This version is DEPRECATED, v2.03 is the latest version
iati-activities/iati-activity/conditions/condition
This is the reference page for the XML element condition
.
Description of one condition attached to the activity.
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.
ISO 2 letter code specifying the language of text in this element.
This value should be on the Language codelist.
Example condition
attached, with ConditionType
code 1 (Policy):
<conditions attached="1">
<conditiontype="1">Conditionstext</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">
<conditiontype="1">Conditionstext</condition>
<conditionxml:lang="fr"type="1">Conditionstexte</condition>
<conditiontype="2">Conditionstext</condition>
<conditionxml:lang="fr"type="2">Conditionstexte</condition>
</conditions>
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.
Find the source of this documentation on github: