PDA

View Full Version : XML editing with QDom



trulysachin
20th November 2008, 13:07
Hi all,

I am trying to edit the value of the text element.
<text id="someid">XXXX</text>

i.e. from XXXX --> YYYY

I am able to get the QDomElement for id="someid",
now what function to change the value ????

Please help !!

wysota
20th November 2008, 17:39
Remove the old QDomText node and append a new one as a child to the element.