EDN Admin
Well-known member
I have a large XML and i want to parse the xml and set the value of each xml element. I was planning to use Linq to XML (System.Xml.Linq and System.Xml.XPath) to get the element and set the value. But then i remember that i can also acheive this using the
old XmlDocument class. I wanted to know which will be more efficient XDocument or XmlDocument?
Also,since i already know the structure of the XML, would it be more efficient to build the expected tree using Linq to XML compare to parsing the XML and then set the value? Which will give me better performance?
View the full article
old XmlDocument class. I wanted to know which will be more efficient XDocument or XmlDocument?
Also,since i already know the structure of the XML, would it be more efficient to build the expected tree using Linq to XML compare to parsing the XML and then set the value? Which will give me better performance?
View the full article