<agencycode> Agency Code

<agencycode> is a new element in EAD3 and an optional child element of <maintenanceagency>, used to supply a code for the agency responsible for the creation, maintenance, or dissemination of the EAD finding aid. For best practices, use the format of International Standard Identifier for Libraries and Related Organizations (ISO 15511). The code is composed of a prefix, a dash, and an identifier. For specific codes, see the Library of Congress’s code search.

When used in combination with <recordid>, <agencycode> can provide a globally unique identifier for the finding aid. The agency’s name should be encoded in <agencyname> with <otheragencycode> used to designate any non-standard codes.

Attributes

  • @altrender – not required. Use if the content of the element should be displayed or printed differently than the rendering established in a style sheet for other occurrences of the element.
  • @audience – not required. Use to set whether the element’s contents will be visible to external users or to internal ones. Possible values are: “internal” and “external.”
  • @encodinganalog – not required. May contain information to map this tag to a particular element in another schema.
  • @id – not required. Creates an ID for element. Can be used for linking.
  • @lang – not required. Three-letter code that indicates the language in which the element’s contents were written. It should come from ISO 639-2b.
  • @localtype – not required. This attribute may be used within a number of elements. Its use and values are not defined by the schema and may be defined locally.
  • @script – not required. Four-letter code that indicates the script in which the element’s contents were written. It should come from ISO 15924.

Child Elements

<agencycode> may contain text.

Adjacent Elements

<agencycode> may be followed by an optional <otheragencycode>, then the required <agencyname>.

Examples

<maintenanceagency>
	<agencycode>ST-In-HSWWA</agencycode>
	<otheragencycode localtype="wizlib">H</otheragencycode>
	<agencyname>Hogwarts School of Witchcraft and Wizardry Archives</agencyname>
</maintenanceagency>

EAD3 Tag Library Entry

View the official tag library entry for <agencycode>