Alternatives to expat for stream-oriented XML parsing in C++

淺唱寂寞╮ 提交于 2019-12-10 12:13:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!