Dear All, I have to fix the issue with the following code. I'm going to create an xml in memory and writing some data in to it. Here is the code
MemoryStream memStream = new MemoryStream();
XmlWriterSettings settings = new XmlWriterSettings();
settings.Indent = true;
settings.OmitXmlDeclaration = true;
settings.NewLineHandling = NewLineHandling.Entitize ; // it will replace "\r\n" with "