<lg>
<lg> (行組) 包含形式上視為一組的詩行,例如詩節、疊句、韻文段落等。 [3.13.1 Core Tags for Verse 3.13 Passages of Verse or Drama 7.2.5 Speech Contents]<a href="https://translate.tei-c.org/translate.html?edit=lg.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a> | |
組件 | core — Elements Available in All TEI Documents |
屬性 |
|
俱乐部会员 | |
可包含在於 |
cmc: post
core: add corr del emph head hi item lg note orig p q quote ref reg said sic sp stage textLang title unclear
dictionaries: case colloc def gen gram hyph iType lang lbl mood number orth per pos pron stress subc syll tns usg
header: change handNote licence scriptNote
msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance signatures source summary support surrogates typeNote
namesdates: occupation
tagdocs: specGrp
textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript salute signed titlePart trailer
verse: rhyme
|
可包含 | |
註 |
contains verse lines or nested line groups only, possibly prefixed by a heading. |
例子 | |
Schematron |
<sch:rule context="tei:lg"> <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:rule> |
Schematron |
<sch:rule context="tei:lg"> <sch:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]">Abstract model violation: Lines may not contain line groups.</sch:report> </sch:rule> |
Content model |
<content> |
宣告 |
<rng:element name="lg"> element lg { att.global.attributes, att.global.analytic.attributes, att.global.change.attributes, att.global.facs.attributes, att.global.linking.attributes, att.global.rendition.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.cmc.attributes, att.declaring.attributes, att.divLike.attributes, att.fragmentable.attributes, att.metrical.attributes, att.typed.attributes, ( ( model.divTop | model.global )*, ( model.lLike | model.stageLike | model.labelLike | model.pPart.transcriptional | lg ), ( model.lLike | model.stageLike | model.labelLike | model.pPart.transcriptional | model.global | lg )*, ( ( model.divBottom, model.global* )* ) ) } |