MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

XDocument vs XmlDocument

Open virzak opened this issue 8 months ago • 2 comments

This project uses both. Does it make sense to switch to XDocument?

Here are some points for XDocument:

  • https://github.com/zulimazuli/dotnetXmlBenchmarks
  • https://learn.microsoft.com/en-us/answers/questions/1805701/xdocument-vs-xmldocument
  • https://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

Additionally XDocument supports asynchronous operations, whilc XmlDocument doesn't.

virzak avatar Jun 15 '25 18:06 virzak

Because history, I'm familiar XmlDocument than XDocument years age. If we can switch to XDocument and pass unit test, we can try it 🙌 Could we invite you to our team, we sent the mail.

shps951023 avatar Jun 16 '25 00:06 shps951023

Yeah, with pleasure!

virzak avatar Jun 16 '25 01:06 virzak