I'm writing a native C++ project and I need a simple XML parser/writer. I already know XmlDocument in C#, so something simil开发者_JAVA百科ar could be quite good, but if there isn't, does anyone know a quick-to-use XML parser/writer?
I'm trying to shorten my "learning of the library" time to minimum.
Thanks!
There are quite a few you can consider:
- Xerces
- TinyXML
- libxml++
- Expat Xml
- XmlLite
I've used TinyXML, and it's worked reasonably well for what I've needed. My needs weren't terribly demanding though. At least when I used it, it didn't deal with DTD/XSD at all, so if you need to handle those it's probably not an option.
I ended up using RapidXML (http://rapidxml.sourceforge.net/). For me, its intuitive, and was really easy to learn.
No body recommended it so I added my own answer :-\ ...
精彩评论