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.
This value must be on the UNSDG-Goals codelist, if the relevant vocabulary is used.
This value must be on the UNSDG-Targets codelist, if the relevant vocabulary is used.
- @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.
@vocabulary
attribute declares a valid code (1) from the TagVocabulary codelist.@code
attribute.<tag vocabulary="1" code="1" />
tag
element can be repeated in any iati-activity
. <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>
@vocabulary-uri
attribute should also be used, for example:<tag vocabulary="99" vocabulary-uri="http://example.com/vocab.html" code="T1" />