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.
精彩评论