<to>

The element to indicates a ref to which the preceding <tok>s should be moved.

The element to points to a single token that is the end of a range of tokens to be selected

Formal Definition

@ref
   
      (@val | @pos | (@val, @pos))

Defined at: TAN-class-2.rng

Used by: ~alt-reassign, ~tok-ref-range

[Caution]Caution

No alter action should result in the mixing of leaf <div>s and non-leaf <div>s.

[Caution]Caution

In a ranged <tok> in a <reassign>, the token referred to by <from> must precede the one referred to by <to>.

Example 8.213. <to>

   <head>
      .........
      <alter src="fra">
         .........
         <reassign>
            <tok ref="5 5" pos="1-27"/>
            <to ref="5 1 5"/>
         </reassign>
         <reassign>
            <tok ref="5 5">
               <from val="Ceci"/>
               <to pos="4" val="corps"/>
            </tok>
            <to ref="5 1 6"/>
         </reassign>
         <reassign>
            <tok ref="5 5">
               <from val="Il"/>
               <to val="exister"/>
            </tok>
            .........
         </reassign>
         .........
      </alter>
      .........
   </head>


[Note]Note

Taken from ar.cat.tan-a-div