Click here to Skip to main content
15,031,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any body suggest me a good logic to parse a xml file which is in size in MB's(file size is more than 1mb) within very less time.
Posted
Updated 3-Jan-11 18:09pm
v2

You should use an existing library to read xml files. There are plenty out there - you can just google for them.
I usually use TinyXml, see here:
http://sourceforge.net/projects/tinyxml/[^]
   
   
also MiniXml is a lightweight library.

Consider to do the XML parsing in another thread.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900