This is the reference page for the XML element legacy-data.


Hold a single name=value pair of legacy data. This element is not for adding new data types; instead, it holds the original (non-IATI) value or code for an existing data type.



The original field name.

This value must be of type xsd:string.


The original field value.

This value must be of type xsd:string.


The name of the equivalent IATI element (if available).

This value must be of type xsd:NMTOKEN.

Example Usage

Example legacy-data declaring two non-IATI values, in this case for activity-status and transaction.

  <legacy-data name="Project Status" value="7" iati-equivalent="activity-status" />
  <legacy-data name="cost" value="1000" iati-equivalent="transaction" />

Developer tools

Find the source of this documentation on github: