How to create a System.IO.Stream object from an XmlDocument object?
I have the below method that does some transformations and returns an xml document.
I have an in memory xml document and an in memory xsl document. I need to invoke the below method to transform the xml document. How can I create System.IO.Stream objects from the in memory xml documents?
public static XmlDocument Transform(System.IO.Stream xslStream, System.IO.Stream xmlStream)