<lg>

<lg> (grupo de versos) contiene un grupo de versos que funcionan como una unidad formal, p.ej. una estrofa, un refrán, un estribillo, etc. [3.13.1 Core Tags for Verse 3.13 Passages of Verse or Drama 7.2.5 Speech Contents]
Módulo core — Elements Available in All TEI Documents
Atributos
Miembro de
Contenido en
Puede contener
Nota

contains verse lines or nested line groups only, possibly prefixed by a heading.

Ejemplo
<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: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>
 <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="0maxOccurs="unbounded"/>

  </sequence>
 </sequence>
</content>
Declaración
<rng:element name="lg">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.divLike.attributes"/>
 <rng:ref name="att.metrical.attributes"/>
 <rng:ref name="att.fragmentable.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:ref name="att.cmc.attributes"/>
 <rng:group>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="model.divTop"/>
    <rng:ref name="model.global"/>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.lLike"/>
   <rng:ref name="model.stageLike"/>
   <rng:ref name="model.labelLike"/>
   <rng:ref name="model.pPart.transcriptional"/>
   <rng:ref name="lg"/>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="model.lLike"/>
    <rng:ref name="model.stageLike"/>
    <rng:ref name="model.labelLike"/>
    <rng:ref name="model.pPart.transcriptional"/>
    <rng:ref name="model.global"/>
    <rng:ref name="lg"/>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:group>
   <rng:zeroOrMore>
    <rng:ref name="model.divBottom"/>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:zeroOrMore>
  </rng:group>
 </rng:group>
</rng:element>
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,
   att.cmc.attributes,
   (
      ( model.divTop | model.global )*,
      (
         model.lLikemodel.stageLikemodel.labelLikemodel.pPart.transcriptionallg
      ),
      (
         model.lLikemodel.stageLikemodel.labelLikemodel.pPart.transcriptionalmodel.globallg
      )*,
      ( ( model.divBottom, model.global* )* )
   )
}