narrative

iati-activities/iati-activity/contact-info/mailing-address/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 must occur at least once (within each parent element).

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 must be on the Language codelist.

Example Usage

The narrative child element can be used to declare freetext for the mailing-address element of contact-info.

  <contact-info type="1">
   <organisation>
    <narrative>Agency A</narrative>
   </organisation>
   <department>
    <narrative>Department B</narrative>
   </department>
   <person-name>
    <narrative>A. Example</narrative>
   </person-name>
   <job-title>
    <narrative>Transparency Lead</narrative>
   </job-title>
   <telephone>0044111222333444</telephone>
   <email>transparency@example.org</email>
   <website>http://www.example.org</website>
   <mailing-address>
    <narrative>Transparency House, The Street, Town, City, Postcode</narrative>
   </mailing-address>
  </contact-info>
The narrative element can be repeated for any language additional to the default language set in iati-activity, by using the @xml:lang attribute. Example not shown.

Changelog

2.01

The narrative element was introduced in 2.01.

Developer tools

Find the source of this documentation on github: