title: SQL Server HTML as XML
body: <p>Is it bad practice to store a properly formatted HTML fragment in an XML column in SQL Server?</p>
  
  <p>For example: </p>
  
  <pre><code>&lt;p&gt;A phase of the moon is shown below.&lt;/p&gt;&lt;p&gt;&lt;img src="../../../graphics/saved/100022.jpg" alt="" /&gt;&lt;/p&gt;&lt;p&gt;Which pair of diagrams shows the moons phase immediately before and immediately after this phase?&lt;/p&gt;
  </code></pre>