Alternatives to expat for stream-oriented XML pars

2019-08-31 07:31发布

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.

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-08-31 07:43

What about Xerces-C++?

查看更多
Juvenile、少年°
3楼-- · 2019-08-31 07:51

You could try Apache's Xerces.

查看更多
登录 后发表回答