开发者

VC++ project: MSXML vs any other XML libraries

开发者 https://www.devze.com 2022-12-22 02:18 出处:网络
We are aware of MSXML, bas开发者_StackOverflowed on COM technologies. We want to use it for a VC++ project starting soon. Are there any other XML libraries do good compared to MSXML?TinyXML - A C++ op

We are aware of MSXML, bas开发者_StackOverflowed on COM technologies. We want to use it for a VC++ project starting soon. Are there any other XML libraries do good compared to MSXML?


TinyXML - A C++ open source library


Will you be using the .Net Framework if so you may want to look at using linq to xml.


Take a look at RapidXML. Also, Boost.PropertyTree is an abstraction over property trees (XML, JSON, INI, INFO at the time of writing) and relies on RapidXML for its XML parser.


We ditched MSXML in favor of Xerces for our project, although Xerces is also a big, complicated beast. The TinyXML suggestion is probably a good one if it does everything you need it to. If you only need basic SAX model support (and not a DOM), then you might also consider expat which is one of the first widely used XML parsers.


LIBXML "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License."

I have used it for many years on Win32 projects without problem. It supports both SAX and DOM style reading.


You must take a look at Microsoft XmlLite which is a pull parser for pure C++. The primary goals of XmlLite are ease of use, performance, and standards compliance.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号