Is there a single good XML parser out there??
I've been looking far and wide for a C or C++ XML parser that actually supports character encoding other than char*, and I have yet to find one. I'm currently writing one myself that at least supports UTF-8 and can extract text as any basic_string type, but it would save much time to find an existing one. Does anybody know of any fully-featured XML parser for C or C++ (preferably C++)? Any help is appreciated.
http://www.applied-mathematics.net/tools/xmlParser.html
(my favourite)
also, http://www.ambiera.com/irrxml/
(my favourite)
also, http://www.ambiera.com/irrxml/
libxml++ supports UTF-8:
http://libxmlplusplus.sourceforge.net/docs/manual/html/index.html
XmlParser does too:
http://www.applied-mathematics.net/tools/xmlParser.html
XmlLite seems to support it:
http://msdn.microsoft.com/en-us/magazine/cc163436.aspx
HTH :)
(If this weird forum had BB-code buttons, I'd given you proper formatted links..)
<edit>
Looks like xDan beat me to it!
http://libxmlplusplus.sourceforge.net/docs/manual/html/index.html
XmlParser does too:
http://www.applied-mathematics.net/tools/xmlParser.html
XmlLite seems to support it:
http://msdn.microsoft.com/en-us/magazine/cc163436.aspx
HTH :)
(If this weird forum had BB-code buttons, I'd given you proper formatted links..)
<edit>
Looks like xDan beat me to it!
Thanks for the links! rate++ for all of you. These are the sort of thing I'm looking for. I've previously tried TinyXML, RapidXML, and some others, all of which lack in some necessary features.
libxml++ is quite good.
Some people don't like that it depends on glibmm for unicode management though.
basic_string is not suitable for Unicode.
Unicode is variable-width, and basic_string may only contain PODs.
Some people don't like that it depends on glibmm for unicode management though.
Quote:'m currently writing one myself that at least supports UTF-8 and can extract text as any basic_string type
basic_string is not suitable for Unicode.
Unicode is variable-width, and basic_string may only contain PODs.
The last three companies that I have worked for have all used: http://xerces.apache.org/xerces-c/
TinyXml?
http://www.grinninglizard.com/tinyxml/
I know it's been used commercially.
Xerces is kind of a pig.
http://www.grinninglizard.com/tinyxml/
I know it's been used commercially.
Xerces is kind of a pig.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement