[PyQt] QDomElement set text?

Scott Ballard scott at scottballard.net
Tue Jul 20 00:38:53 BST 2010


If I have an XML element such as <mirrorh>"hello"</mirrorh> I can retrieve
its text ("hello") using the method .text(), but how do I set it?

Or do I somehow have to use a QTextNode to set the QDomElement?

Any thoughts?

Thanks,
-Scott



More information about the PyQt mailing list