XmlDictionaryReader reader = JsonReaderWriterFactory.CreateJsonReader(Encoding.UTF8.GetBytes(xml), XmlDictionaryReaderQuotas.Max);
XmlDocument xdoc = new XmlDocument();
xdoc.Load(reader);
XmlDocument xdoc = new XmlDocument();
xdoc.Load(reader);
转载于:https://www.cnblogs.com/Aimeast/archive/2011/01/17/1937038.html