Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 912 Bytes

File metadata and controls

27 lines (21 loc) · 912 Bytes

Example Usage

Example description of an iati-activity.

The @type attribute declares a valid code (en) from the DescriptionType codelist.
    <description type="1">
   <narrative>General activity description text.  Long description of the activity with no particular structure.</narrative>
</description>
The description element can be repeated in any iati-activity.
In this example, three different description are declared.
Note - it is optional to include all DescriptionType.
.. literalinclude:: ../../activity-standard-example-annotated.xml
        :language: xml
        :start-after: <!--description starts-->
        :end-before: <!--description ends-->
        :emphasize-lines: 1, 4, 5, 8, 9, 12

Changelog

2.01

Freetext is no longer allowed with this element. It should now be declared with the new child narrative element.