iati-activities/iati-activity/activity-date/narrative
This is the reference page for the XML element narrative
.
The free text name or description of the item being described. This can be repeated in multiple languages.
The text in this element must be of type xsd:string.
This element may occur any number of times.
ISO 639-1 code specifying the language of text in this element. If a default language is specified in the iati-activity element it does not have to be repeated here.
This value should be on the Language codelist.
The narrative
child element can be used to declare freetext for the activity-date
element.
Note: In this example, free text narrative
has been included with the just one activity-date
element. This is entirely optional, and best applied when such text can add additional clarification to the activity-date
.
<activity-date iso-date="2012-04-15" type="1">
<narrative>Plannedstartdateoftheactivity</narrative>
<narrative xml:lang="fr">Date prévue de début de l'activité</narrative>
</activity-date>
<activity-date iso-date="2012-04-28" type="2" />
<activity-date iso-date="2015-12-31" type="3" />
The narrative
element can be repeated for any language additional to the default language set in iati-activity
, by using the @xml:lang
attribute.
One example illustrated below:
<activity-date iso-date="2012-04-15" type="1">
<narrative>Planned start date of the activity</narrative>
<narrativexml:lang="fr">Dateprévuededébutdel'activité</narrative>
</activity-date>
<activity-date iso-date="2012-04-28" type="2" />
<activity-date iso-date="2015-12-31" type="3" />
The narrative
element was introduced in 2.01.
Find the source of this documentation on github: