<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" ident="undo" xml:id="gi-undo" module="transcr">
  <desc versionDate="2013-04-16" xml:lang="en">indicates one or more marked-up interventions in a document
   which have subsequently been marked for cancellation.</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.dimensions"/>
    <memberOf key="att.spanning"/>
    <memberOf key="att.transcriptional"/>
    <memberOf key="model.linePart"/>
    <memberOf key="model.pPart.transcriptional"/>
  </classes>
  <content><empty/></content>
  <attList>
    <attDef ident="target">
      <desc versionDate="2013-04-16" xml:lang="en">points to one or more elements representing the
	 interventions which are to be reverted or undone.</desc>
      <datatype minOccurs="1" maxOccurs="unbounded"><dataRef key="teidata.pointer"/></datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-undo-egXML-gy">
      <line>This is <del change="#s2" rend="overstrike"><seg xml:id="undo-a">just some</seg>
sample <seg xml:id="undo-b">text</seg>,
we need</del>
            <add change="#s2">not</add>
a real example.</line>
      <undo target="#undo-a #undo-b" rend="dotted" change="#s3"/>
    </egXML>
    <p>This encoding represents the following sequence of events:
<list><item>"This is just some sample text, we need a real example" is written</item><item>At stage s2, "just some sample text, we need" is deleted by
overstriking, and "not" is added </item><item>At stage s3, parts of the deletion are cancelled by
underdotting, thus reinstating the words "just some" and
"text".</item></list>
      </p>
  </exemplum>
  <listRef>
    <ptr target="#undo"/>
  </listRef>
</elementSpec>
