View Full Version : QDomDocument - closed nodes?
naresh
17th April 2006, 23:42
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
Chicken Blood Machine
18th April 2006, 17:03
QDomNode::hasChildNodes ()
wysota
19th April 2006, 08:10
DOM tree will not validate if it has unmatched tags, so if QDomDocument::setContent returns true, it means that all tags are matched.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.