Hey, 2011/6/25 John Robson <[email protected]>: > Hello, > > I need to read and parse a XML file. I saw two great libraries are: > RapidXml and pugixml (and perhaps Boost XML) > > - http://stackoverflow.com/questions/1042855/boost-and-xml-c > - http://stackoverflow.com/questions/170686/best-open-xml-parser-for-c > - http://www.fnord.ca/articles/xml.html > > I wonder if there is some already integrated in Wt. > > If there is any, which you recommend to be used?
I believe the stackoverflow recommendations are quite informative. We currently use a modified version of RapidXML in Wt. The fact that it is easy to take it an adapt it was one of its strengths (in particular, we added support for XHTML character entities). Before that we had used MiniXML. The nicest thing about MiniXML is it hybrid SAX/DOM API which you can use to take advantage of the best of both. The project wasn't very well maintained though (it took a long time before bug fixes got accepted, some which were quite basic like character encoding). Before that we had used Xerces. That was a mistake. It's only useful when you need support for namespaces or other more exotic XML features, because then your choices become much more limited. Regards, koen ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
