You are viewing VERSION 2.01 of IATI Standard Reference View another version
category
iati-activities/iati-activity/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
- @code
An IATI code defining the category of the document.
This attribute is required.
This value must be of type xsd:string.
This value must be on the DocumentCategory codelist.
Example Usage
Example usage of category
of a document-link
in an iati-activity
.
This examples declares the DocumentCategory
code A01, using the @code
attribute.
<document-linkformat="application/vnd.oasis.opendocument.text"url="http:www.example.org/docs/report_en.odt">
<title>
<narrative>ProjectReport2013</narrative>
<narrativexml:lang="fr">Rapportdeprojet2013</narrative>
</title>
<categorycode="A01"/>
<languagecode="en"/>
</document-link>
The category
element can be repeated in any document-link
.
Changelog
2.01
Freetext is no longer allowed within this element.
Developer tools
Find the source of this documentation on github: