I have a XML file as below:
<?xml version="1.0" encoding="UTF-8"?>
<content>
<calibrationBoard>
</calibrationBoard>
<calibrationOptions>
<camera value="0"/>
</calibrationOptions>
</content>
At runtime, I need to change the value of camera from "0" to "1".
How can I use QXmlStreamWriter to achieve this purpose? I only find out how to create new elements with QXmlStreamWriter, but I do not know how to modify existing elements with it.
Bookmarks