Example contact-info
for an iati-activity
.
This element is a parent for other child elements.
The
@type
attribute declares a valid code (1) from the ContactType codelist.<contact-info type="1">
...
</contact-info>
Full example with all child elements:
.. literalinclude:: ../../activity-standard-example-annotated.xml :language: xml :start-after: <!--contact-info starts--> :end-before: <!--contact-info ends--> :emphasize-lines: 1, 20
The optional contact-info/department
element was added.
Added the optional contact-info/website
element.
Added the optional
contact-info/@type
attribute.Changed the following subelements of contact-info to allow multiple-language versions explicitly (no change to parsing; purely semantic):
- organisation
- person-name
- job-title
- mailing-address