More information:The QDom classes are typically used as follows:
Qt Code:
return; if (!doc.setContent(&file)) { file.close(); return; } file.close(); // print out the element names of all elements that are direct children // of the outermost element. while(!n.isNull()) { if(!e.isNull()) { cout << e.tagName() << endl; // the node really is an element. } n = n.nextSibling(); }To copy to clipboard, switch view to plain text mode
QDomDocument
Bookmarks