问题
Are there alternatives to expat for stream-oriented XML parsing in C++? The data that I am dealing with arrives over a TCP connection and there are multiple XML documents to deal with, which means I have to reset the XML parser every time there is a new document. The parser doesn't need to be standards-compliant; I'm interested in being able to parse the XML syntax using a callback-oriented process, rather than conforming to a particular schema.
回答1:
What about Xerces-C++?
回答2:
You could try Apache's Xerces.
来源:https://stackoverflow.com/questions/3416668/alternatives-to-expat-for-stream-oriented-xml-parsing-in-c