<elementSpec ident="list" module="MEI.text">
<desc xml:lang="en">A formatting element that contains a series of items separated from one another and
arranged in a linear, often vertical, sequence.</desc>
<classes>
<memberOf key="att.basic"/>
<memberOf key="att.classed"/>
<memberOf key="att.facsimile"/>
<memberOf key="att.labelled"/>
<memberOf key="att.lang"/>
<memberOf key="att.linking"/>
<memberOf key="att.nNumberLike"/>
<memberOf key="att.responsibility"/>
<memberOf key="att.xy"/>
<memberOf key="model.listLike"/>
</classes>
<constraintSpec ident="list_type_constraint" scheme="schematron">
<constraint>
<sch:rule context="mei:list[contains(@type,'gloss')]">
<sch:assert test="count(mei:label) = count(mei:li)">In a list of type "gloss" all items
must be immediately preceded by a label.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="form" usage="opt">
<desc xml:lang="en">Used to indicate the format of a list. In a
<val>simple</val> list,
<gi scheme="MEI">li</gi>
elements are not numbered or bulleted. In a
<val>marked</val> list, the sequence of the list items
is not critical, and a bullet, box, dash, or other character is displayed at the start
of
each
<gi scheme="MEI">item</gi>. In an
<val>ordered</val> list, the sequence of the items is
important, and each
<gi scheme="MEI">li</gi> is lettered or numbered. Style sheet
functions should be used to specify the mark or numeration system for each
<gi scheme="MEI">li</gi>.</desc>
<valList type="closed">
<valItem ident="simple">
<desc xml:lang="en">Items are not numbered or bulleted.</desc>
</valItem>
<valItem ident="marked">
<desc xml:lang="en">Bullet, box, dash, or other character is displayed before each item.</desc>
</valItem>
<valItem ident="ordered">
<desc xml:lang="en">Each item is numbered or lettered.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="type" usage="opt">
<desc xml:lang="en">Captures the nature of the content of a list.</desc>
<datatype>
<rng:data type="NMTOKENS"/>
</datatype>
<valList type="semi">
<valItem ident="gloss">
<desc xml:lang="en">Each list item glosses some term or concept, which is given by a label element
preceding the list item.</desc>
</valItem>
<valItem ident="index">
<desc xml:lang="en">Each list item is an entry in an index such as the alphabetical topical index at
the back of a print volume.</desc>
</valItem>
<valItem ident="instructions">
<desc xml:lang="en">Each list item is a step in a sequence of instructions, as in a recipe.</desc>
</valItem>
<valItem ident="litany">
<desc xml:lang="en">Each list item is one of a sequence of petitions, supplications or invocations,
typically in a religious ritual.</desc>
</valItem>
<valItem ident="syllogism">
<desc xml:lang="en">Each list item is part of an argument consisting of two or more propositions and a
final conclusion derived from them.</desc>
</valItem>
</valList>
<remarks xml:lang="en">
<p>In a list of type
<val>gloss</val> it is a semantic error not to precede each list item with a
label.</p>
</remarks>
</attDef>
</attList>
<remarks xml:lang="en">
<p>The model of this element is based on the <ref target="https://www.loc.gov/ead/EAD3taglib/EAD3-TL-eng.html#elem-list">list</ref> element of the Encoded Archival Description (EAD), the <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-list.html">list</ref> element of the Text Encoding
Initiative (TEI), and the respective elements of
<abbr>HTML</abbr>.</p>
</remarks>
</elementSpec>