A Plain-Talking EAD Tag Library

<relation> Relation

<relation> is new element in EAD3 a required child element of <relations> which encapsulates the description of a relationship between described materials and a related entry (another finding aid, and EAC-CPF file, etc.).

Attributes

@actuate – not required. Determines whether a link occurs automatically or must be requested by a user. Possible values: onload, onrequest, other, none.

@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.

@arcrole – not required. Specifies the role that a remote resource plays in the link.

@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.

@href –not required. May be used to designate a URI/URL for the material cited.

@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.

@lastdatetimeverified – not required. Enter a date to specify the last date and time verified. Best practices format should be YYYY-MM-DD, up to YYYY-MM-DDThh:mm:ss and with offset.

@linkrole – not required. Specifies the role that a remote resource plays in the link.

@linktitle – not required. Designates a title for the link.

@otherrelationtype – not required. If “otherrelationtype” is set as the value in @relationtype, indicate a designation for the relation type in this attribute.

@relationtype – required. A required attribute which indicates how the entity is related to the described materials. Possible values are: cpfrelation, resourcerelation, and functionrelation, otherrelationtype.

@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

Any item may be omitted, including <relationentry>, but the order of use cannot be changed (for validation).

Example

<relations><relationid="hhuf"relationtype="cpfrelation"actuate="onrequest"show="new"href="http://eadiva.com/hogwarts-cpf/H.001.xml"><relationentry>Hufflepuff, Helga</relationentry><descriptivenote><p>Co-founder of Hogwarts School of Witchcraft and Wizardry. While not the most combative, her acceptance of all students willing to learn was the most at odds with Slytherin's pure blood philosophy.</p></descriptivenote></relation><relationid="ggry"relationtype="cpfrelation"actuate="onrequest"show="new"href="http://eadiva.com/hogwarts-cpf/G.001.xml"><relationentry>Gryffindor, Godric</relationentry><descriptivenote><p>Co-founder of Hogwarts School of Witchcraft and Wizardry. Initially a good friend and correspondent of Salazar Slytherin, Gryffindor later cut ties over their disagreement concerning acceptance of muggle-born students.</p></descriptivenote></relation><relationid="rrav"relationtype="cpfrelation"actuate="onrequest"show="new"href="http://eadiva.com/hogwarts-cpf/R.001.xml"><relationentry>Ravenclaw, Rowena</relationentry><descriptivenote><p>Co-founder of Hogwarts School of Witchcraft and Wizardry.</p></descriptivenote></relation></relations>

<relations>
<relation id="hhuf" relationtype="cpfrelation" actuate="onrequest" show="new" href="http://eadiva.com/hogwarts-cpf/H.001.xml">
<relationentry>Hufflepuff, Helga</relationentry>
<descriptivenote>
<p>Co-founder of Hogwarts School of Witchcraft and Wizardry. While not the most combative, her acceptance of all students willing to learn was the most at odds with Slytherin's pure blood philosophy.</p>
</descriptivenote>
</relation>
<relation id="ggry" relationtype="cpfrelation" actuate="onrequest" show="new" href="http://eadiva.com/hogwarts-cpf/G.001.xml">
<relationentry>Gryffindor, Godric</relationentry>
<descriptivenote>
<p>Co-founder of Hogwarts School of Witchcraft and Wizardry. Initially a good friend and correspondent of Salazar Slytherin, Gryffindor later cut ties over their disagreement concerning acceptance of muggle-born students.</p>
</descriptivenote>
</relation>
<relation id="rrav" relationtype="cpfrelation" actuate="onrequest" show="new" href="http://eadiva.com/hogwarts-cpf/R.001.xml">
<relationentry>Ravenclaw, Rowena</relationentry>
<descriptivenote>
<p>Co-founder of Hogwarts School of Witchcraft and Wizardry.</p>
</descriptivenote>
</relation>
</relations>