This element is modelled on elements in Encoded Archival Description (EAD), Text Encoding Initiative (TEI), and HTML standards.
<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>
<elementSpec ident="list" module="MEI.text">
<desc>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="isoschematron">
<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 org="group">
<attDef ident="form" usage="opt">
<desc>Used to indicate the format of a list. In a "simple" list,
<gi scheme="MEI">li</gi>
elements are not numbered or bulleted. In a "marked" 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 "ordered" 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>Items are not numbered or bulleted.</desc>
</valItem>
<valItem ident="marked">
<desc>Bullet, box, dash, or other character is displayed before each item.</desc>
</valItem>
<valItem ident="ordered">
<desc>Each item is numbered or lettered.</desc>
</valItem>
</valList>
</attDef>
<attDef ident="type" usage="opt">
<desc>Captures the nature of the content of a list.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="NMTOKENS"/>
</datatype>
<valList type="semi">
<valItem ident="gloss">
<desc>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>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>Each list item is a step in a sequence of instructions, as in a recipe.</desc>
</valItem>
<valItem ident="litany">
<desc>Each list item is one of a sequence of petitions, supplications or invocations,
typically in a religious ritual.</desc>
</valItem>
<valItem ident="syllogism">
<desc>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>
<p part="N">In a list of type "gloss" it is a semantic error not to precede each list item with
a
label.</p>
</remarks>
</attDef>
</attList>
<remarks>
<p part="N">This element is modelled on elements in Encoded Archival Description (EAD), Text Encoding
Initiative (TEI), and HTML standards.</p>
</remarks>
</elementSpec>