Skip to content

<ab>

anonymous block

contains any component-level unit of text, acting as a container for phrase or inter level elements analogous to, but without the same constraints as, a paragraph.

Module linkingSASE

Attributes

Classes and content

Member of
May contain

dictionaries

gaiji

textstructure

Character data

  • character data
Contained by

cmc

figures

textcrit

transcr

verse

Note

The ab element may be used at the encoder's discretion to mark any component-level elements in a text for which no other more specific appropriate markup is defined. Unlike paragraphs, ab may nest and may use the @type and @subtype attributes.

Example

<div type="book" n="Genesis">
  <div type="chapter" n="1">
    <ab>In the beginning God created the heaven and the earth.</ab>
    <ab>And the earth was without form, and void; and
darkness was upon the face of the deep. And the
spirit of God moved upon the face of the waters.</ab>
    <ab>And God said, Let there be light: and there was light.</ab>
    <!-- ...-->
  </div>
</div>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="abstractModel-structure-ab-in-l" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:l//tei:ab">
        <sch:assert test="ancestor::tei:floatingText | parent::tei:figure | parent::tei:note">
          Abstract model violation: Metrical lines (&lt;l&gt; elements) may not contain higher-level divisions such as &lt;p&gt; or &lt;ab&gt;, unless &lt;ab&gt; is a child of &lt;figure&gt; or &lt;note&gt;, or is a descendant of &lt;floatingText&gt;.
        </sch:assert>
      </sch:rule>
    </constraint>
  </constraintSpec>

Content model

<content>
    <macroRef key="macro.abContent"/>
  </content>