
17 Apr
2006
17 Apr
'06
3:26 p.m.
... or you can use libxml (http://xmlsoft.org), which is also portable. I used it on Windows and Linux. It is a C library.
There are further advantages to using libxml. The programming model of expat is based on the SAX2 interface. Libxml has both the SAX2 and a pull-parser interface, which is generally easier to use from an application point of view. Libxml2 is generaly faster than expat. It also has better support for all the different XML features such as entities etc. I also believe it's more actively maintained and developed.