<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date$
    $Id$
-->
<?xml-model href="http://tei.oucs.ox.ac.uk/jenkins/job/TEIP5/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" xmlns:rng="http://relaxng.org/ns/structure/1.0" ident="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="model.pPart.transcriptional"/>
    <memberOf key="att.global"/>
    <memberOf key="att.spanning"/>
    <memberOf key="att.transcriptional"/>
  </classes>
  <content>
    <rng: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">
        <rng:ref name="data.pointer"/>
      </datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <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>
