![]() |
Home · Overviews · Examples | ![]() |
The QDomNodeList class is a list of QDomNode objects. More...
The QDomNodeList class is a list of QDomNode objects.
Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated.
You can get a particular node from the list with item. The number of items in the list is returned by length.
For further information about the Document Object Model see Level 1 and Level 2 Core. For a more general introduction of the DOM implementation see the QDomDocument documentation.
See also QDomNode::childNodes and QDomDocument::elementsByTagName.
Copyright © 2008 Trolltech | Trademarks | Qt Jambi 4.3.4_01 |