初学者,大家帮忙解释一下这个是什么意思?
QDomDocument domTree;
QDomNodeList IEDlist = domTree.elementsByTagName(tag);
QT C++
------解决方案--------------------
QDomNodeList QDomDocument::elementsByTagName ( const QString & tagname ) const
Returns a QDomNodeList, that contains all the elements in the document with the name tagname. The order of the node list is the order they are encountered in a preorder traversal of the element tree.
------解决方案--------------------
Qt Assistant