<label>
<label> (étiquette) contient l'étiquette associée à un item dans une liste ; dans les glossaires marque le terme faisant l'objet de la définition 3.7 Lists | |
Module | core — 3 Elements Available in All TEI Documents |
Attributs | |
Utilisé par | |
Peut contenir | core: abbr add address binaryObject cb choice corr date del distinct email emph expan foreign gap gloss graphic hi index lb measure measureGrp mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: formula gaiji: g msdescription: catchwords depth dimensions height heraldry locus locusGrp material origDate origPlace secFol signatures stamp watermark width |
Declaration |
element label { att.global.attributes, macro.phraseSeq } |
Exemple | Labels are most commonly used for the headwords in glossary lists; note the use of the global xml:lang attribute to set the default language of the glossary list to Middle English, and identify the glosses and headings as modern English or Latin: <list type="gloss" xml:lang="enm"> <head xml:lang="en">Vocabulary</head> <headLabel xml:lang="en">Middle English</headLabel> <headItem xml:lang="en">New English</headItem> <label>nu</label> <item xml:lang="en">now</item> <label>lhude</label> <item xml:lang="en">loudly</item> <label>bloweth</label> <item xml:lang="en">blooms</item> <label>med</label> <item xml:lang="en">meadow</item> <label>wude</label> <item xml:lang="en">wood</item> <label>awe</label> <item xml:lang="en">ewe</item> <label>lhouth</label> <item xml:lang="en">lows</item> <label>sterteth</label> <item xml:lang="en">bounds, frisks (cf. <cit> <ref>Chaucer, K.T.644</ref> <quote>a courser, <term>sterting</term>as the fyr</quote> </cit> </item> <label>verteth</label> <item xml:lang="la">pedit</item> <label>murie</label> <item xml:lang="en">merrily</item> <label>swik</label> <item xml:lang="en">cease</item> <label>naver</label> <item xml:lang="en">never</item> </list> |
Exemple | Labels may also be used to record explicitly the numbers or letters which mark list items in ordered lists, as in this extract from Gibbon's Autobiography. In this usage the label element is synonymous with the n attribute on the item element: I will add two facts, which have seldom occurred in the composition of six, or at least of five quartos. <list rend="runon" type="ordered"> <label>(1)</label> <item>My first rough manuscript, without any intermediate copy, has been sent to the press.</item> <label>(2) </label> <item>Not a sheet has been seen by any human eyes, excepting those of the author and the printer: the faults and the merits are exclusively my own.</item> </list> |
Exemple | Labels may also be used for other structured list items, as in this extract from the journal of Edward Gibbon: <list type="gloss"> <label>March 1757.</label> <item>I wrote some critical observations upon Plautus.</item> <label>March 8th.</label> <item>I wrote a long dissertation upon some lines of Virgil.</item> <label>June.</label> <item>I saw Mademoiselle Curchod — <q xml:lang="la">Omnia vincit amor, et nos cedamus amori.</q> </item> <label>August.</label> <item>I went to Crassy, and staid two days.</item> </list> |