if you modify your structure of xml then qdom is better.
do not confuse it with adding data to xml..
for example suppose your xml looks like this
<nodes>
<child></child>
<child></child>
</nodes>
<nodes>
<child></child>
<child></child>
</nodes>
To copy to clipboard, switch view to plain text mode
you can add or delete as many child as needed, this does not changes the xml structure, so you can use
both qdom and stream
but if you modify your xml structure like
<nodes>
<child></child>
<newChild></newChild>
</nodes>
<nodes>
<child></child>
<newChild></newChild>
</nodes>
To copy to clipboard, switch view to plain text mode
here we have modifed the structure, this is where QDom is easy. (just make the changes and say doc->save())
Bookmarks