iati-organisations/iati-organisation/document-link/title/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 must occur at least once (within each parent element).
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 title
element.
<document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
<title>
<narrative>AnnualReport2013</narrative>
</title>
<category code="B01" />
<language code="en" />
<document-date iso-date="2014-02-05" />
<recipient-country code="AF">
<narrative>Afghanistan</narrative>
</recipient-country>
</document-link>
The narrative
element can be repeated for any language additional to the default language set in iati-organisation
, by using the xml:lang
attribute.
Note: This relates to the language of the text in the XML.
<document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
<title>
<narrative>Annual Report 2013</narrative>
<narrativexml:lang="fr">Rapportannuel2013</narrative>
</title>
<category code="B01" />
<language code="en" />
<document-date iso-date="2014-02-05" />
<recipient-country code="AF">
<narrative>Afghanistan</narrative>
</recipient-country>
</document-link>
The narrative
element was introduced in 2.01.
Find the source of this documentation on github: