<item>
Module | core |
Attributes | Attributes att.global.analytic (ana) att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) |
Contained by |
core: list
|
May contain |
core: abbr add bibl biblStruct choice cit date del desc ellipsis emph foreign gap gloss graphic hi l label lb lg list listBibl mentioned milestone name note noteGrp num orig p pb ptr q quote ref reg rs sic term time title unclear
gaiji: g
header: idno
namesdates: addName affiliation forename genName geo listObject listOrg listPerson listPlace location nameLink objectName orgName persName placeName roleName settlement surname
character data
|
Note |
May contain simple prose or a sequence of chunks.
Whatever string of characters is used to label a list item in the copy text may be
used as the value of the global n attribute, but it is not required that numbering be recorded explicitly. In ordered
lists, the n attribute on the item element is by definition synonymous with the use of the label element to record the enumerator of the list item. In glossary lists, however, the
term being defined should be given with the label element, not n.
|
Examples |
<list rend="numbered"> <head>Here begin the chapter headings of Book IV</head> <item n="4.1">The death of Queen Clotild.</item> <item n="4.2">How King Lothar wanted to appropriate one third of the Church revenues.</item> <item n="4.3">The wives and children of Lothar.</item> <item n="4.4">The Counts of the Bretons.</item> <item n="4.5">Saint Gall the Bishop.</item> <item n="4.6">The priest Cato.</item> <item> ...</item> </list> |
Schematron |
All index items must contain a title and a number
<sch:pattern> <sch:rule context="tei:div[@type='index']/tei:list/tei:item"> <sch:assert test="count(tei:num) gt 0">ERROR: All index items must contain at least one num element.</sch:assert> <sch:assert test="count(descendant::tei:title) gt 0">ERROR: All index items must contain at least one title element.</sch:assert> </sch:rule> </sch:pattern> |
Source | Github
<elementSpec rend="change" module="core" ident="item"> <gloss>item</gloss> <desc>contains one component of a list.</desc> <classes> <memberOf key="att.global.analytic"/> <memberOf key="att.global"/> </classes> <content> <macroRef key="macro.specialPara"/> </content> <attList/> </elementSpec> |