What is the best way to process XML if I can't afford to load the whole file into memory?
Use an XmlReader and process element by element.
You can use XmlReader class, it doesn't load the whole document into memory. Here you can find the complete list of ways to deal with XML with examples and pros and cons for every technology used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With