Process xml without loading into memory
What is the best way to process XML if I can't afford to load the whole fi开发者_C百科le 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.
精彩评论