@new

The attribute new provides the new name for an @n or reference that is to be renamed

The attribute new provides the new ref for a <div> that is to be renamed

Formal Definition

string (pattern (\w+([^\w\-]\w+)*)|.*\?\?\?.*)

Defined at: TAN-class-2.rng

Used by: ~simple-rename, ~complex-rename

[Caution]Caution

In a <rename>, the number of values in @ref and @new must be identical.

[Caution]Caution

@new may not take the same value as what it replaces.

[Caution]Caution

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

Example 8.47. @new

   <head>
      .........
      <alter src="fra">
         <skip div-type="sec"/>
         <rename ref="1 1-3" new="1 1 1-3"/>
         <rename ref="3 1-3" new="3 1 1-3"/>
         <rename ref="4 1-3" new="4 1 1-3"/>
         <rename ref="5 1-4" new="5 1 1-4"/>
         <rename ref="5 7-9" new="5 2 3-5"/>
         .........
      </alter>
      .........
   </head>


[Note]Note

Taken from ar.cat.tan-a-div