Category
<category></category>
From the schema
A category into which this document falls, using the IATI document category code list. Must be specified at least once, and may be repeated for multiple categories. For the value of the @code attribute, see http://iatistandard.org/101/codelists/document_category
This element is of the type "codeReqType" as described in the IATI Common schema (Version 1.01)
Data type for an element that refers to an object that must have a code.
value | use | description |
---|---|---|
@code | required | Machine-readable code for the entity being described. |
This element also references "textAtts"
Attribute group for elements containing free text content.
value | use | description |
---|---|---|
@xml:lang | optional | http://www.w3.org/XML/1998/namespace |
Standard compliance test(s) for /document-link/category/@code
- Must be on: Document Category Codelist
Category
Example Usage
The code should be declared in any usage of this element:
<category code="A04"/>
Additionally, a text description of the code can be provided:
<category code="A04">Conditions</category>
Where this text description is in a language that differs from the default, then this should be declared accordingly:
<category code="A04" xml:lang="en">Conditions</category>