category

iati-organisations/iati-organisation/document-link/category

This is the reference page for the XML element category.

Definition

IATI Document Category Code

Rules

This element must occur at least once (within each parent element).

Attributes

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.
 <document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
  <title>
   <narrative>Annual Report 2013</narrative>
  </title>
  <category code="B01" />
  <language code="en" />
  <document-date iso-date="2014-02-05" />
  <recipient-country code="AF" />
 </document-link>
The category element can be repeated in any document-link.
Example declaring multiple DocumentCategory codes for the same document-link:
  <document-link format="application/vnd.oasis.opendocument.text" url="http://www.example.org/docs/report_en.odt">
   <title>
    <narrative>Annual Report 2013</narrative>
    <narrative xml:lang="fr">Rapport annuel 2013</narrative>
   </title>
   <description>
     <narrative>Description of the document</narrative>
   </description>
   <category code="B01" />
   <category code="B02" />
   <category code="B03" />
   <language code="en" />
   <document-date iso-date="2014-02-05" />
   <recipient-country code="AF" />
  </document-link>

Changelog

2.01

Freetext is no longer allowed within this element.

Developer tools

Find the source of this documentation on github: