tags:

views:

185

answers:

5

I've used the StAX API in Java quite a bit, and find it quite a clean way of dealing with XML files. Is there any equivalent library I could use for performing similar processing in C?

A: 

libxml is a heavily used and documented XML library for C, which provides a SAX API. Expat is another, but in my experience is not as well documented.

John Millikin
A: 

I have used Expat pretty extensively - I like it for its simplicity and small footprint.

Brian Stewart
A: 
OJW
A: 

Huh? No, Expat does not do Stax, and code example confirms this.

Perhaps you meant it does something bit like SAX?

StaxMan
A: 

If you are not opposed to C++ then try LLama

kert