Skip to content

<p>

paragraph

marks paragraphs in prose.

Module coreCOPADRPAL

Attributes

Classes and content

Member of
May contain

dictionaries

gaiji

textstructure

Character data

  • character data
Contained by

cmc

figures

textcrit

transcr

verse

Example

<p>Hallgerd was outside. <q>There is blood on your axe,</q> she said. <q>What have you
done?</q>
</p>
<p>
  <q>I have now arranged that you can be married a second time,</q> replied Thjostolf.</p>
<p>
  <q>Then you must mean that Thorvald is dead,</q> she said.</p>
<p>
  <q>Yes,</q> said Thjostolf. <q>And now you must think up some plan for me.</q>
</p>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="abstractModel-structure-p-in-ab-or-p" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:p">
        <sch:report test="(ancestor::tei:ab or ancestor::tei:p) and                        not( ancestor::tei:floatingText                           | parent::tei:exemplum                           | parent::tei:item                           | parent::tei:note                           | parent::tei:q                           | parent::tei:quote                           | parent::tei:remarks                           | parent::tei:said                           | parent::tei:sp                           | parent::tei:stage                           | parent::tei:cell                           | parent::tei:figure )">
          Abstract model violation: Paragraphs may not occur inside other paragraphs or &lt;ab&gt; elements.
        </sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="abstractModel-structure-p-in-l" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:l//tei:p">
        <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 structural elements such as &lt;div&gt;, &lt;p&gt;, or &lt;ab&gt;, unless &lt;p&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.paraContent"/>
  </content>