DataSet.GetXml() Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am writing out the DataSet.GetXml() to a file as below:

Response.AddHeader ("Content-disposition", @"attachment;
filename=Employee.xml");
Response.ContentType = "application/ms-tnef";
Response.Write(dsEmployee().GetXml());
Response.End();

I get the XML but the problem I am having is: in a few places where I have
"Double Quotes", it is replaced with """ . How can I preserver the "Double
Quotes" in the XML I download (instead of me manually going through entire
XML and replacing ...) ?? TIA.
 
You said you are writing the xml to a file. Windows app or asp.net?



| Hi,
| I am writing out the DataSet.GetXml() to a file as below:
|
| Response.AddHeader ("Content-disposition", @"attachment;
| filename=Employee.xml");
| Response.ContentType = "application/ms-tnef";
| Response.Write(dsEmployee().GetXml());
| Response.End();
|
| I get the XML but the problem I am having is: in a few places where I have
| "Double Quotes", it is replaced with """ . How can I preserver the "Double
| Quotes" in the XML I download (instead of me manually going through entire
| XML and replacing ...) ?? TIA.
 
Back
Top