n class="section"><h2 class="title sectiontitle">Migrating <samp class="ph codeph">mode="elementname-fmt"</samp></h2>
      
      <div class="p">Prior to DITA-OT 1.7, many elements were processed with the following
        logic:<pre class="pre">Match element
    Set variable to determine if revisions are active and $DRAFT is on
    If active
        create division with rev style
            process element with mode="elementname-fmt"
        end division
    Else
        process element with mode="elemen