我想知道是否有任何方法可以.txt
使用c++
and来创建 XML 文件libxml
?
输入文件如下所示:
"< url >..........< / url>
<description>His work points a way forward for saving the oceans' health -- and humanity's.</description>
<keywords>fish,health,mission blue,oceans,science</keywords>
<talkid>899</talkid>
<title>Stephen Palumbi: Following the mercury trail</title>
<transcript>
It can be a very complicated thing, the ocean.
And it can be a very complicated thing, what human health is. "
after transcript I have a huge text
after the tag </transcript>
另一个集团以相同的结构开始,我想要的是构建整个事物并将元数据重新组合在一起,因为之后我需要单独处理文本。