narrative

iati-activities/iati-activity/participating-org/narrative

This is the reference page for the XML element narrative.

Definition

The free text name or description of the item being described. This can be repeated in multiple languages.

Rules

The text in this element must be of type xsd:string.

This element may occur any number of times.

Either narrative or @ref must be present.

Attributes

@xml:lang

A code specifying the language of text in this element. It is recommended that wherever possible only codes from ISO 639-1 are used. If not present, the default language is assumed.

This value should be on the Language codelist.

Example Usage

The narrative child element can be used to declare freetext for the participant-org element.

  <participating-org ref="BB-BBB-123456789" role="1" type="40" activity-id="BB-BBB-123456789-1234">
   <narrative>Name of Agency B</narrative>
  </participating-org>
  <participating-org ref="CC-CCC-123456789" role="2" type="10" activity-id="CC-CCC-123456789-1234">
   <narrative>Name of Agency C</narrative>
  </participating-org>
  <participating-org ref="AA-AAA-123456789" role="3" type="21" activity-id="AA-AAA-123456789-1234" crs-channel-code="000000">
   <narrative>Name of Agency A</narrative>
   <narrative xml:lang="fr">Nom de l'agence A</narrative>
  </participating-org>
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:
  <participating-org ref="BB-BBB-123456789" role="1" type="40" activity-id="BB-BBB-123456789-1234">
   <narrative>Name of Agency B</narrative>
  </participating-org>
  <participating-org ref="CC-CCC-123456789" role="2" type="10" activity-id="CC-CCC-123456789-1234">
   <narrative>Name of Agency C</narrative>
  </participating-org>
  <participating-org ref="AA-AAA-123456789" role="3" type="21" activity-id="AA-AAA-123456789-1234" crs-channel-code="000000">
   <narrative>Name of Agency A</narrative>
   <narrative xml:lang="fr">Nom de l'agence A</narrative>
  </participating-org>

Changelog

2.01

The narrative element was introduced in 2.01.

Developer tools

Find the source of this documentation on github: