c# xml string special characters
- by sam
Please help explain why the dataset cannot read the encoded xml?
string xml = "<?xml version=\"1.0\" standalone=\"yes\" ?>
<DataSet><node>it's my \"node\" & i like it</node></DataSet>";
string encodedXml = System.Security.SecurityElement.Escape(xml);
DataSet ds = new DataSet();
ds.ReadXml(New…