<lg>
<lg> (行組) 包含形式上視為一組的詩行,例如詩節、疊句、韻文段落等。 [3.13.1 Core Tags for Verse 3.13 Passages of Verse or Drama 7.2.5 Speech Contents] | |
組件 | core — Elements Available in All TEI Documents |
屬性 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.divLike (@org, @sample) (att.metrical (@met, @real, @rhyme)) (att.fragmentable (@part)) att.typed (@type, @subtype) att.declaring (@decls) |
俱乐部会员 | |
可包含在於 | 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: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> |
Schematron | <s:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]"> Abstract model violation: Lines may not contain line groups. </s:report> |
Content model | <content> |
宣告 | <rng:element name="lg"> element lg { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.divLike.attributes, att.metrical.attributes, att.fragmentable.attributes, att.typed.attributes, att.declaring.attributes, ( ( model.divTop | model.global )*, ( model.lLike | model.stageLike | model.labelLike | lg ), ( model.lLike | model.stageLike | model.labelLike | model.global | lg )*, ( model.divBottom, model.global* )* ) } |