title: Remove white space from xml response
body: <p>Below is the sample code for creation of xml.</p>
  
  <pre><code>var bpsResponseXml = new XElement("BPSResponse");         
  
  bpsResponseXml.Add(new XElement("Response",
                                      new XElement("Code", "804"),
                                      new XElement("Text", "TagID value is not genuine")));
  
  var outPutXml = bpsResponseXml.Value;
  </code></pre>
  
  <p>Current Output xml is shown below, as you can see there are spaces between the characters and words :</p>
  
  <pre><code>&lt;BPSResponse&gt;    &lt;Response&gt;      &lt;Code&gt;804&lt;/Code&gt;      &lt;Text&gt;TagID value is not genuine.&lt;/Text&gt;    &lt;/Response&gt;  &lt;/BPSResponse&gt;
  </code></pre>
  
  <p>Rather than above xml i want trimmed xml as below :</p>
  
  <pre><code>&lt;BPSResponse&gt;&lt;Response&gt;&lt;Code&gt;804&lt;/Code&gt;&lt;Text&gt;TagID value is not genuine.&lt;/Text&gt;&lt;/Response&gt;&lt;/BPSResponse&gt;
  </code></pre>
  
  <p>Please help for the same!</p>