i'm having QTextEdit widget with large content in it (content is XML). i want to take the content and set it into a QDomDocument, so i take the content using
document = textEdit->document();
but i dont know how to take it from here into a QDomDocument... what's the best way to do it ?