开发者

c++ XML file parsing problem

Can any one tell me how to change an xml file using c++ and xercesc code?

My file is on my desktop using开发者_开发问答 .

I know c++ file handling but don't know how to change attribute of xml file.

Can anybody tell me what I should do?

Any example, tutorial, book, etc., which can help me will be cordially accepted.


You can modify an attribute using the setAttribute function of class DomElement, as documentation says:

If an attribute with that name is already present in the element, its value is changed to be that of the value parameter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜