title: Create HTML Table and specify fontsize with SQL FOR XML
body: <p>I need to write SQL statement that will return an html table and specify font size to its content. </p>
  
  <p>I've found some information <a href="https://stackoverflow.com/questions/7086393/create-html-table-with-sql-for-xml"><b>here</b></a>. Solusion of this tipic describes how to get XML with elements but without attributes:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;th&gt;Problem&lt;/th&gt;
      &lt;th&gt;Onset&lt;/th&gt;
      &lt;th&gt;Status&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;aaa&lt;/td&gt;
      &lt;td&gt;bbb&lt;/td&gt;
      &lt;td&gt;ccc&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>But I need to write SQL statement that would return something like this:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;th&gt;&lt;font size="1"&gt;Problem&lt;/font&gt;&lt;/th&gt;
      &lt;th&gt;&lt;font size="1"&gt;Onset&lt;/font&gt;&lt;/th&gt;
      &lt;th&gt;&lt;font size="1"&gt;Status&lt;/font&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;&lt;font size="1"&gt;aaa&lt;/font&gt;&lt;/td&gt;
      &lt;td&gt;&lt;font size="1"&gt;bbb&lt;/font&gt;&lt;/td&gt;
      &lt;td&gt;&lt;font size="1"&gt;ccc&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>