<lg>
<lg> (line group) contains one or more verse lines functioning as a formal unit, e.g. a
stanza, refrain, verse paragraph, etc. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.5. Speech Contents]
Module | core |
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.typed (type) |
Member of | |
Contained by |
namesdates: occupation
|
May contain | |
Note |
contains verse lines or nested line groups only, possibly prefixed by a heading.
|
Examples |
<lg type="free"> <l>Let me be my own fool</l> <l>of my own making, the sum of it</l> </lg> <lg type="free"> <l>is equivocal.</l> <l>One says of the drunken farmer:</l> </lg> <lg type="free"> <l>leave him lay off it. And this is</l> <l>the explanation.</l> </lg> |
Schematron |
<sch:assert test="count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) > 0">An lg element must contain at least one child l, lg, or gap element.</sch:assert> <sch:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]">Abstract model violation: Lines may not contain line groups.</sch:report> |
Source | Github
<elementSpec module="core" ident="lg"> <gloss>line group</gloss> <desc>contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc.</desc> <classes> <memberOf key="att.global"/> <memberOf key="model.divPart"/> <memberOf key="model.paraPart"/> <memberOf key="att.typed"/> </classes> <content> <sequence> <alternate minOccurs="0" maxOccurs="unbounded"> <classRef key="model.divTop"/> <classRef key="model.global"/> </alternate> <alternate> <classRef key="model.lLike"/> <classRef key="model.stageLike"/> <classRef key="model.labelLike"/> <classRef key="model.pPart.transcriptional"/> <elementRef key="lg"/> </alternate> <alternate minOccurs="0" maxOccurs="unbounded"> <classRef key="model.lLike"/> <classRef key="model.stageLike"/> <classRef key="model.labelLike"/> <classRef key="model.pPart.transcriptional"/> <classRef key="model.global"/> <elementRef key="lg"/> </alternate> <sequence minOccurs="0" maxOccurs="unbounded"> <classRef key="model.divBottom"/> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> </sequence> </sequence> </content> </elementSpec> |