[Qt-interest] How can change value of node in XML file?
Prot Netin
pronetin at yahoo.com
Thu Sep 29 14:08:57 CEST 2011
Hi all,
I have a xml file such as:
<config>
<lm>100</lm>
</config>
How can i update 100 to new value such as 50?
I can get 100 from file using QDomDocument, QDomNode, QDomElement classes and QDomElemet::text method.
But i can not update file. How can i do that? which class or function
should i use to update <lm>100</lm> to
</lm>50</lm>?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110929/4b19bdf5/attachment.html
More information about the Qt-interest-old
mailing list