title: How to let XDocument.Load preserve line break
body: <pre><code>using (System.IO.StreamReader sr = new System.IO.StreamReader(path, System.Text.Encoding.GetEncoding("Windows-1252"), true))
  { 
  
      xdoc = XDocument.Load(sr);
  }
  </code></pre>
  
  <p>Here is my XML</p>
  
  <pre><code>&lt;sheet name="sheet1" bounds="160,128,464,288"&gt;
      &lt;text name="text1" bounds="160,128,464,288" text="a
  
      b"/&gt;
  &lt;/sheet&gt;
  </code></pre>
  
  <p>XDocument.Load converts </p>
  
  <pre><code>a
  
  b
  </code></pre>
  
  <p>to</p>
  
  <pre><code>a b
  </code></pre>
  
  <p>How to preserve my line breaks?</p>