whats the quickest way to generate an XmlDocument object from a file. Im working on the basis that i know my xml is well formed, and ideally im looking for a method that will allow me to simply pass in a string as my file location, and return a complete XmlDocument object.
Share
Um,
XmlDocument.Load?On the other hand, if you’re using .NET 3.5 or higher you should strongly consider moving to LINQ to XML and
XDocumentinstead:LINQ to XML is a much nicer XML API.