<item>
| Module | core |
| Attributes |
att.global
xml:id
n
xml:lang
att.global.rendition
style
rendition
att.global.linking
corresp
copyOf
next
prev
att.global.source
source
|
| Contained by |
core: list
|
| May contain |
core: abbr add address bibl biblStruct choice cit date del ellipsis emph foreign gap gloss graphic hi l label lb lg list listBibl measure measureGrp mentioned milestone name note noteGrp num orig p pb ptr q quote ref reg rs sic soCalled sp 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> <alternate minOccurs="0" maxOccurs="1"> <sequence minOccurs="1" maxOccurs="1"> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> <elementRef key="label"/> <alternate minOccurs="0" maxOccurs="unbounded"> <classRef key="model.divPart"/> <classRef key="model.global"/> <classRef key="model.attributable"/> <classRef key="model.biblLike"/> <classRef key="model.egLike"/> <classRef key="model.listLike"/> </alternate> </sequence> <alternate minOccurs="0" maxOccurs="unbounded"> <textNode/> <classRef key="model.gLike"/> <classRef key="model.phrase"/> <classRef key="model.divPart"/> <classRef key="model.global"/> <classRef key="model.attributable"/> <classRef key="model.biblLike"/> <classRef key="model.egLike"/> <classRef key="model.listLike"/> </alternate> </alternate> </content> </elementSpec> |