title: How to generate SSRS report using the code (xml)?
body: <p>I want to know if there is a way to generate a SSRS report using the xml code. Here's the xml code for an empty report. I would like to design the report and store the xml code in the tables and generate the SSRS report using the xml code in the table? </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"&gt;
  &lt;Body&gt;
  &lt;Height&gt;2in&lt;/Height&gt;
  &lt;Style /&gt;
  &lt;/Body&gt;
  &lt;Width&gt;6.5in&lt;/Width&gt;
  &lt;Page&gt;
  &lt;LeftMargin&gt;1in&lt;/LeftMargin&gt;
  &lt;RightMargin&gt;1in&lt;/RightMargin&gt;
  &lt;TopMargin&gt;1in&lt;/TopMargin&gt;
  &lt;BottomMargin&gt;1in&lt;/BottomMargin&gt;
  &lt;Style /&gt;
  &lt;/Page&gt;
  &lt;AutoRefresh&gt;0&lt;/AutoRefresh&gt;
  &lt;rd:ReportUnitType&gt;Inch&lt;/rd:ReportUnitType&gt;
  &lt;rd:ReportID&gt;259e5507-dcf1-443d-884f-cfcf7816f9b2&lt;/rd:ReportID&gt;
  &lt;/Report&gt;
  </code></pre>