Skip to content

<subst>

substitution

groups one or more deletions (or surplus text) with one or more additions when the combination is to be regarded as a single intervention in the text.

Module transcrPHSU

Attributes

Classes and content

Member of
May contain

linking

transcr

Contained by

cmc

linking

spoken

tagdocs

Examples

... are all included.
<del hand="#RG">It is</del>
<subst>
  <add>T</add>
  <del>t</del>
</subst>
he expressed
that he and his Sister Miſs D —
<lb/>
who always lived with him, wd. be 
<subst>
  <del>very</del>
  <lb/>
  <add>principally</add>
</subst>
 remembered in her Will.
<ab>τ<subst>
    <add place="above">ῶν</add>
    <del>α</del>
  </subst>
συνκυρόντ<subst>
    <add place="above">ων</add>
    <del>α</del>
  </subst>
ἐργαστηρί<subst>
    <add place="above">ων</add>
    <del>α</del>
  </subst>
</ab>
<subst>
  <del>
    <gap reason="illegible" quantity="5" unit="character"/>
  </del>
  <add>apple</add>
</subst>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="substContents1" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:subst">
        <sch:assert test="child::tei:add and (child::tei:del or child::tei:surplus)">
        &lt;<sch:name/>&gt; must have at least one child &lt;add&gt; and at least one child &lt;del&gt; or &lt;surplus&gt;.</sch:assert>
      </sch:rule>
    </constraint>
  </constraintSpec>

Content model

<content>    
    <alternate minOccurs="1" maxOccurs="unbounded">
      <elementRef key="add"/>
      <elementRef key="surplus"/>
      <elementRef key="del"/>
      <classRef key="model.milestoneLike"/>
    </alternate>
  </content>