narrative
iati-activities/iati-activity/sector/narrative
This is the reference page for the XML element narrative
.
Definition
The description of a sector defined by the reporting organisation. (Only to be used when the reporting organisation’s own vocabulary is being used).
Rules
The text in this element must be of type xsd:string.
This element may occur any number of times.
2.2.1: When using a reporting organisation sector code (vocabulary 98 or 99), it must include a narrative.
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 sector
element.
The narrative
element should be used specially when the 99 (Reporting Organisation) or 98 (Reporting Organisation 2) SectorVocabulary are declared.
<sector vocabulary="99" vocabulary-uri="http://example.com/vocab.html" code="A1" percentage="100">
<narrative>Adescriptionofthesector</narrative>
</sector>
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: