<namegrp> Name Group

<namegrp> is a formatting element used within <indexentry> to group access elements which share the same <ref>, <ptr/>, or <ptrgrp> element.

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

<namegrp> may contain as many of the following child elements as desired: <corpname>, <famname>, <function>, <geogname>, <genreform>, <name>, <occupation>, <persname>, <subject>, <title>.

Examples

<index>
	<head>Index of Animals Described</head>
	<p>Animals are grouped by class and paired with a link to the official Ministry of Magic magical creature class description.</p>
	<indexentry>
		<namegrp>
			<name><part>Imp</part></name>
			<name><part>Salamander</part></name>
		</namegrp>
		<ref href="http://regcontrol.ministry.magic.uk/magical-creature-tables/class_1" show="new" actuate="onrequest">Table of Class 1 Creatures</ref>
	</indexentry>
	<indexentry>
		<namegrp>
			<name><part>Cockatrice</part></name>
			<name><part>Griffin</part></name>
			<name><part>Thestral</part></name>
		</namegrp>
		<ref href="http://regcontrol.ministry.magic.uk/magical-creature-tables/class_2" show="new" actuate="onrequest">Table of Class 2 Creatures</ref>
	</indexentry>
	<indexentry>
		<name><part>Basilisk</part></name>
		<ref href="http://regcontrol.ministry.magic.uk/magical-creature-tables/class_3" show="new" actuate="onrequest">Table of Class 3 Creatures</ref>
	</indexentry>
</index>

Changes from EAD 2002

<namegrp> gained attributes @lang and @script and lost deprecated child element <note>.

EAD3 Tag Library Entry

View the official tag library entry for <namegrp>