[英]Poco parse XML document from byte buffer
I need to convert char buffer[]
to the Poco XML document. 我需要将
char buffer[]
转换为Poco XML文档。 I tried to work through the Poco XML and Net tutorial but I could not see any example for this. 我尝试完成Poco XML和Net教程,但没有看到任何示例。 Can anyone give a working example of this?
谁能给出一个可行的例子吗? Thanks.
谢谢。
Put the string in a std::string
, put that in a std::istringstream
. 将字符串放入
std::string
,然后将其放入std::istringstream
。 Now you should be able to use the input stream in POCO. 现在,您应该可以在POCO中使用输入流了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.