XmlDocument doc = new XmlDocument();
doc.Load("E:\\test\\test.xml" );
LoadXML is for loading an XML file.
string xml
= " <?xml version='1.0'
encoding='UTF-8'?><MimeTypes><MimeType><Extension>.3dm</Extension><Value>x-world/x-3dmf</Value></MimeType></MimeTypes>";
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml );
No comments:
Post a Comment