PDA

View Full Version : QDomDocument inside other QDomDocument



estanisgeyer
13th November 2008, 15:19
Hi friends,

I'm creating an xml document (with QDomDocument) and want to import a xml file (load file with QFile and put content with QDomDocument::setContent), placing it as a node. Is it possible?

Thanks,

Marcelo E. Geyer

spirit
13th November 2008, 15:27
use QDomDocument::appendChild. (this method QDomDocument inherits from QDomNode)