PDA

View Full Version : Best XML parser for C


wolfgangqpublic
Jan 26, 2009, 11:48 PM
Hi,

My application needs me to parse HUGE XML files. I need to implement it only in C language. Please suggest me a parser for XML in C.

I came across libxml2 parser. Libxml2 inturn has 'SAX type' parser and ' XMLReader ' pull parser. Please let me know which among these is better in implementation / memory handling or suggest me if there are any better ones.

Thanks,
Rajiv.

crigby
Feb 2, 2009, 10:06 AM
Hi,
There are any number of them Expat at Sourceforge(which is where I would first look for something like that) is one and then there are all the sites with "xml" in their names. Try:
The Expat XML Parser (http://expat.sourceforge.net/)
XML Parsers (http://www.xml.com/pub/rg/XML_Parsers)
For a starting point.
Peace,
Clarke