<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]
組件transcr — Representation of Primary Sources
屬性att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) 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.responsibility (@cert, @resp) (att.source (@source)) ) )
targetpoints to one or more elements representing the interventions which are to be reverted or undone.
狀態 非必備的
資料類型 1–∞ 次可出現: 

<rng:ref name="data.pointer"/>
data.pointer
以空白鍵隔開
俱乐部会员
可包含在於
analysis: cl pc phr s w
figures: cell
linking: ab seg
spoken: u writing
tagdocs: eg
textcrit: lem rdg wit witDetail
verse: rhyme
可包含空白元素
宣告

<rng:element name="undo">
 <rng:ref name="att.global.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.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.responsibility.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.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.spanning.attributes,
   att.transcriptional.attributes,
   att.editLike.attributes,
   att.dimensions.attributes,
   att.ranging.attributes,
   att.responsibility.attributes,
   att.source.attributes,
   attribute target { list { data.pointer+ } }?,
   empty
}
例子
<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-brend="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".