Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 989 Bytes

File metadata and controls

30 lines (23 loc) · 989 Bytes

Example Usage

Example usage of category of a document-link in an iati-organisation.
This examples declares the DocumentCategory code B01, using the @code attribute.
.. literalinclude:: ../../../organisation-standard-example-annotated.xml
        :language: xml
        :start-after: <!--document-link starts-->
        :end-before: <!--document-link ends-->
        :emphasize-lines: 5

The category element can be repeated in any document-link.
Example declaring multiple DocumentCategory codes for the same document-link:
.. literalinclude:: ../../../organisation-standard-example-annotated.xml
        :language: xml
        :start-after: <!--multi-cat-document-link starts-->
        :end-before: <!--multi-cat-document-link ends-->
        :emphasize-lines: 6, 7, 8

Changelog

2.01

Freetext is no longer allowed within this element.