In C# what is the best method to parse large XML Documents(1GB size)...?
.NET (Core and Framework)
3
Posts
3
Posters
0
Views
1
Watching
-
Hi Friends, Can any body help me what is the best method parse large XML File having size of 1GB.If i use XML Document and XML Reader ,result being very late.... Your answers are welcme Thanks with best regards, sivaram
For XML files of that size, XMLDocument or DOM is not suitable. XMLReader should give better performance than the former one. In case if you are using string manipulations, consider StringBuilder object also in place String. (Just a thought)
Bhaskara
-
Hi Friends, Can any body help me what is the best method parse large XML File having size of 1GB.If i use XML Document and XML Reader ,result being very late.... Your answers are welcme Thanks with best regards, sivaram