<undo>

<undo> indicates one or more marked-up interventions in a document which have subsequently been marked for cancellation. [11.3.4.4 Confirmation, Cancellation, and Reinstatement of Modifications]
Moduletranscr — Representation of Primary Sources
Attributesatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) att.spanning (@spanTo) att.transcriptional (@hand, @status, @cause, @seq) (att.editLike (@evidence, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.source (@source)) )
targetpoints to one or more elements representing the interventions which are to be reverted or undone.
Status Optional
Datatype 1–∞ occurrences of 

<rng:ref name="data.pointer"/>
data.pointer
separated by whitespace
Member of
Contained by
analysis: cl pc phr s w
figures: cell
linking: ab seg
spoken: u writing
tagdocs: eg
textcrit: lem rdg wit witDetail
verse: rhyme
May containEmpty element
Declaration

<rng:element name="undo">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.spanning.attributes"/>
 <rng:ref name="att.transcriptional.attributes"/>
 <rng:ref name="att.editLike.attributes"/>
 <rng:ref name="att.dimensions.attributes"/>
 <rng:ref name="att.ranging.attributes"/>
 <rng:ref name="att.source.attributes"/>
 <rng:optional>
  <rng:attribute name="target">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="data.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element undo
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.spanning.attributes,
   att.transcriptional.attributes,
   att.editLike.attributes,
   att.dimensions.attributes,
   att.ranging.attributes,
   att.source.attributes,
   attribute target { list { data.pointer+ } }?,
   empty
}
Example
<line>This is <del change="#s2rend="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="dottedchange="#s3"/>

This encoding represents the following sequence of events:

  • "This is just some sample text, we need a real example" is written
  • At stage s2, "just some sample text, we need" is deleted by overstriking, and "not" is added
  • At stage s3, parts of the deletion are cancelled by underdotting, thus reinstating the words "just some" and "text".