XML encoding the code can be avoided using <![CDATA ... ]]>
sections.
<code>
// XML entity encoding (hard to read)
if (i < 1) p = &1;
</code>
<code>
<![CDATA[
// CDATA syntax is harder to remember
// but the code within is far more readable
if (i < 1) p = &1;
]]>
</code>