flagging logic. The <span class="ph filepath">htmlflag.xsl</span> file contains a few rules to match and process
        the start/end flags; in most cases, all code to explicitly process flags can be deleted.</p>

      <div class="p">For example, the common logic for most element rules before DITA-OT 1.7 could be boiled down to the
        following:<p class="lines">Match element<br>
&nbsp;&nbsp;&nbsp;&nbsp;Create <samp class="ph codeph">"flagrules"</samp> variable by reading DITAVAL for active flags<br>
