narrative
iati-activities/iati-activity/document-link/description/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 should be on the Language codelist.
Example Usage
The narrative
child element can be used to declare freetext for the description
element.
<document-link format="application/vnd.oasis.opendocument.text" url="http:www.example.org/docs/report_en.odt">
<title>
<narrative>Project Report 2013</narrative>
<narrative xml:lang="fr">Rapport de projet 2013</narrative>
</title>
<description>
<narrative> Description of the content of the project report or guidance on where to access the relevant information in this report </narrative>
</description>
<category code="A01" />
<language code="en" />
<document-date iso-date="2014-02-05" />
</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.
Changelog
2.03
This mandatory narrative
element of a description
in a document-link
element was added.
Developer tools
Find the source of this documentation on github: