开发者

c++ XML file parsing problem

开发者 https://www.devze.com 2023-02-19 18:19 出处:网络
Can any one tell me how to change an xml file using c++ and xercesc code? My file is on my desktop using开发者_开发问答.

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

精彩评论

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

关注公众号