Expat的替代方法,用于C ++中面向流的XML解析 [英] Alternatives to expat for stream-oriented XML parsing in C++

查看:114
本文介绍了Expat的替代方法,用于C ++中面向流的XML解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++中面向流的XML解析是否有替代expat?我处理的数据通过TCP连接到达,并且有多个XML文档要处理,这意味着每次有新文档时,我必须重置XML解析器。解析器不需要符合标准;我有兴趣能够使用面向回调的过程来解析XML语法,而不是符合特定的模式。

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.

推荐答案

p> Xerces-C ++

这篇关于Expat的替代方法,用于C ++中面向流的XML解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆