tag¶
iati-activities/iati-activity/tag
This is the reference page for the XML element tag.
Definition¶
Categorisations from established taxonomies that enrich the classification of the activity but that, unlike those reported in the sector element, cannot be associated with percentage splits on finances.
Rules¶
This element may occur any number of times.
Attributes¶
- @code
The code for the tag as defined in the specified vocabulary.
This attribute is required.
This value must be of type xsd:string.
- @vocabulary
An IATI code for the vocabulary or taxonomy (see non-embedded codelist) used for tag classifications.
This attribute is required.
This value must be of type xsd:string.
This value must be on the TagVocabulary codelist.
- @vocabulary-uri
The URI where this vocabulary is defined.
This value must be of type xsd:anyURI.
Example Usage¶
Example tag in a iati-activity element.
<tag vocabulary="1" code="1" />
<tag vocabulary="1" code="1">
<narrative>A description of the tag</narrative>
</tag>
<tag vocabulary="99" vocabulary-uri="http://example.com/vocab.html" code="T1">
<narrative>A description of the tag</narrative>
</tag>
<tag vocabulary="99" vocabulary-uri="http://example.com/vocab.html" code="T1" />