<subject> Subject

<subject> encodes a topic associated with or covered by the described materials. When the subject is a person, corporation, or geographic region, <persname>, <corpname>, and <geogname> should be used, with their @relator attribute set to “subject.” Not all subjects in the finding aid need to be tagged, but this element may be used to encode any for which more than keyword searching access should be available.

It may be used within <abstract>, <archref>, <bibref>, <controlaccess>, <entry>, <event>, <indexentry>, <item>, <label>, <namegrp>, <p>, <physfacet>, <ref>, and <unittitle>. Subjects with major representation in the materials should be listed within <controlaccess> even if the names are encoded elsewhere.

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 relevant fields.
  • @id – not required. Creates an ID for element. Can be used for linking.
  • @identifier – not required. A machine-readable unique identifier related to the content of the element. On access terms and other elements whose content is drawn from an authority file, the unique identifier for the term being used. If this attribute is used, @source should also be used to identify the authority file.
  • @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.
  • @normal – not required. Can be used to provide the authority form if the subject is being used informally within narrative text, etc.
  • @relator – not required. Use it to specify either as a URI or a phrase (string), other relationship(s) the subject has to the described materials. Replaces and extends functionality of @role from EAD 2002.
  • @rules – not required. May be used to specify the descriptive rules followed when forming the subject.
  • @script – not required. Four-letter code that indicates the script in which the element’s contents were written. It should come from ISO 15924.
  • @source – not required. The source of the controlled vocabulary, e.g. “lcsh” for Library of Congress Subject Headings.

Child Elements

<subject> must contain at least one <part>.

Examples

<controlaccess>
	<function encodinganalog="657" rules="wizlib"><part>Magical instruction</part></function>
	<genreform encodinganalog="655" rules="wizlib"><part>Teaching materials</part></genreform>
	<subject encodinganalog="650" rules="wizlib"><part>Legilimency</part></subject>
	<subject encodinganalog="650" rules="wizlib"><part>Restricted magic</part></subject>
</controlaccess>

Changes from EAD 2002

<subject> gained @lang, @localtype, and @script. The attribute @authfilenumber was replaced by @identifier and @role was replaced and expanded by @relator. It lost all child elements except <part>, which now much be used to encode all information.

EAD3 Tag Library Entry

View the official tag library entry for <subject>