<defitem> Definition List Item

<defitem> is a formatting element used within <list> to pair a <label> with its definition/description/explanation (an <item>). As such, it only appears within <list>. Such lists are most often formatted into 2 columns, using XSL and CSS.

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

Each <defitem> must contain both an <item> and a <label> element.

Examples

In this case, we’re using the list to define access permissions for the collection.

<list listtype="deflist">
	<listhead>
		<head01>Category</head01>
		<head02>Access level</head02>
	</listhead>
	<defitem>
		<label>Students: Year 5 and above</label>
		<item>With permission of a professor, students Year 5 and above may do historical research on letters and journals included in the collection.</item>
	</defitem>
	<defitem>
		<label>Slytherin alumni</label>
		<item>All materials, except spell books. Use of spell books requires approval from the headmaster and archivist.</item>
	</defitem>
	<defitem>
		<label>Hogwarts faculty and administration</label>
		<item>All materials.</item>
	</defitem>
	<defitem>
		<label>Researchers: Hogwarts alumni</label>
		<item>Alumni of other Hogwarts houses must obtain approval from the archivist. Use of spell books requires additional approval from the headmaster.</item>
	</defitem>
	<defitem>
		<label>Researchers: Other</label>
		<item>Researchers who graduated from other magical academies must obtain permission from the Bloody Baron to use Salazar Slytherin's materials. They must then obtain approval for their project's research topics from the archivist. Use of spell books requires additional approval from the headmaster.</item>
	</defitem>
</list>

Here we’re using the deflist for to provide brief information about the correspondents.

<scopecontent>
	<head>Scope and Content</head>
	<p>All correspondence with people other than Hogwarts founders. May contain letters both two and from Slytherin.</p>
	<list listtype="deflist">
		<listhead>
			<head01>Correspondent</head01>
			<head02>Description/Relationship</head02>
		</listhead>
		<defitem>
			<label>Lavinia Black</label>
			<item>Hogwarts professor of runes</item>
		</defitem>
		<defitem>
			<label>Belle Jouliet</label>
			<item>French witch</item>
		</defitem>
		<defitem>
			<label>Marcus Malfoy</label>
			<item>Hogwarts professor of Ghoul Studies</item>
		</defitem>
		<defitem>
			<label>Phineas Peverell</label>
			<item>Hogwarts professor of potions</item>
		</defitem>
		<defitem>
			<label>Morgul Scadamer</label>
			<item>Wizard and childhood friend</item>
		</defitem>
	</list>
</scopecontent>

Changes from EAD 2002

The only changes from EAD 2002 are the addition of @lang and @script.

EAD3 Tag Library Entry

View the official tag library entry for <defitem>