<reassign>

The element reassign identifies word fragments that should be moved from one ref to another

Formal Definition

~ed-stamp?, 
   (~inclusion | (<tok>+, <to>))

Defined at: TAN-class-2.rng

Used by: ~alter-class-2

[Important]Important

Only the first of multiple <reassign>s that apply to a particular token will be applied.

[Important]Important

If a <div> is renamed, and the target reference is subject to <reassign> instructions, the following message will appear. <reassign> targets a reference that has been altered by <rename>. Any reassignments will treat the newly created <div>, not the original.

[Caution]Caution

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

[Important]Important

No <tok> should duplicate any sibling <tok>.

[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.170. <reassign>

   <head>
      .........
      <alter src="fra">
         .........
         <rename ref="15 10" new="15 1 3"/>
         <reassign>
            <tok ref="5 5" pos="1-27"/>
            <to ref="5 1 5"/>
         </reassign>
         <reassign>
            <tok ref="5 5">
               .........
            </tok>
            <to ref="5 1 6"/>
         </reassign>
         <reassign>
            <tok ref="5 5">
               .........
            </tok>
            <to ref="5 1 7"/>
         </reassign>
         <reassign>
            <tok ref="5 6">
               .........
            </tok>
            <to ref="5 2 1"/>
         </reassign>
         <reassign>
            .........
         </reassign>
         .........
      </alter>
      .........
   </head>


[Note]Note

Taken from ar.cat.tan-a-div