title: How can I turn an XDocument into a Stream?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/750198/convert-xdocument-to-stream">Convert XDocument to Stream</a>  </p>
  </blockquote>
  
  
  
  <p>The question speaks for itself - how do I turn an <code>XDocument</code> into a <code>Stream</code> without saving anything to disk?</p>