You are viewing VERSION 1.04 of IATI Standard Reference View another version
This version is DEPRECATED, v2.03 is the latest version
You are viewing VERSION 1.04 of IATI Standard Reference View another version
This version is DEPRECATED, v2.03 is the latest version
iati-activities/iati-activity/conditions
This is the reference page for the XML element conditions
.
Conditions attached to the activity.
A yes/no (1/0) value stating whether there are conditions attached to the activity.
This value must be of type xsd:boolean.
The conditions
element acts as a container for other sub elements.
|
| Example of no conditions
attached to the iati-activity
:
<conditions attached="0"/>
Example of conditions
attached to the iati-activity
, expressed through the bolean 1:
<conditionsattached="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:
<conditionsattached="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>
Find the source of this documentation on github: