How to read large xml file without loading it in memory and using XElement
Posted
by hIpPy
on Stack Overflow
See other posts from Stack Overflow
or by hIpPy
Published on 2010-02-12T05:36:04Z
Indexed on
2010/03/14
20:05 UTC
Read the original article
Hit count: 654
I want to read a large xml file (100+M). Due to its size, I do not want to load it in memory using XElement. I am using linq-xml queries to parse and read it.
What's the best way to do it? Any example on combination of XPath or XmlReader with linq-xml/XElement?
Please help. Thanks.
© Stack Overflow or respective owner