[xml] Most portable xml library?



Hi, everyone.

I'm writing a Wikipedia bot in C. It is designed to be as standard and portable as possible. I'm looking for an XML library to parse the output of Wikipedia requests. The tasks are in fact very simple. For example, look at the login result item here:

http://www.mediawiki.org/wiki/API:Login

My bot currently does XML parsing with <string.h> and does it correctly. But it's not the pro way to do it.

Is libxml2 the most portable XML library?

And is there example code for extracting individual items from the result? I don't desire to parse the entire document.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]