Tinyxml2 vs libxml2

Hi guys,
Could you give me some feedback on this

I was thinking of replacing libxml with a nice xml parser “designed for games”

Pros, Cons … just looking for feedback

I recommend looking at http://pugixml.org/

Faster, smaller and easier than TinyXML :slight_smile:

Thanks I have had a look. :slight_smile:

I’m guessing the real question is if I should use SAX or DOM?

Here is a benchmark I found.
http://my.oschina.net/jackyyang/blog/69931

I cant find anything on tinyxml2 though :confused:
So I created an issue in their github repo to see if anything pops up there :slight_smile:

DOM consumes more memory but SAX is harder to work when you have complex data. I use DOM.