Importing part of QDomDocument into QDomElement
I have XML in a QDomDocument. I wish to insert/import everything but the root tag into a QDomElement in another QDomDocument.
does this for me, except I get the root node too. How do I go about excluding root node? Is there an easy way or do I need to parse whole doc recursively?
Thanks in advance!
Re: Importing part of QDomDocument into QDomElement
You need to import all the immediate children of the root node (not recursively)
Re: Importing part of QDomDocument into QDomElement
Thank you once again. That helped me in the right direction