escape character problem in XMLhttp://forums.asp.net/t/300491.aspx/1?escape+character+problem+in+XMLTue, 05 Aug 2003 17:35:09 -0400300491300491http://forums.asp.net/p/300491/300491.aspx/1?escape+character+problem+in+XMLescape character problem in XML Hi EveryOne, I am having a real problem, which i am unable to resolve. The problem is that i am tring to convert the datset using XmlDataDocument, following is the code. My Problem is that the while assigning the InnerXml to string variable stream. it add escape character to my xml stream. after the code is the example...of xml output. A help will be really appreciated public void PostFeedbackResponseAsDataSet(ResponseDataSet response,Int32 feedbackMaximumResponseSize) { try { String stream = ""; XmlDataDocument xmldom = new XmlDataDocument(response); if(xmldom.HasChildNodes) { stream = xmldom.FirstChild.InnerXml.ToString(); if(stream.Length > feedbackMaximumResponseSize) { throw(new ArgumentException("Feedback response exceeds maximum allowed size for this feedback")); } DAL.InsertResponses(stream); } } catch(Exception e) { Utility.Logger.WriteEntry(e.Message +"\t" + csStackTrace + e.StackTrace); throw(e); } } 2003-08-05T17:35:09-04:00