Is there any possibility to check if all nodes in document are closed? I mean... if node <node> has child nodes then somwhere will be </node> or if node is empty it will only be a <node/>. Any hint will be usefull
Is there any possibility to check if all nodes in document are closed? I mean... if node <node> has child nodes then somwhere will be </node> or if node is empty it will only be a <node/>. Any hint will be usefull
QDomNode::hasChildNodes ()
Save yourself some pain. Learn C++ before learning Qt.
DOM tree will not validate if it has unmatched tags, so if QDomDocument::setContent returns true, it means that all tags are matched.
Bookmarks