// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//! [4]
Heading
Hello you
//! [4]
//! [5]
Heading
The text...
Next heading
//! [5]
//! [6]
Heading
The text...
Next heading
//! [6]
//! [7]
//! [7]
//! [9]
QDomElement e = //...
//...
QString s = e.text()
//! [9]
//! [11]
QDomDocument doc = // ...
QDomElement root = doc.firstChildElement("database");
QDomElement elt = root.firstChildElement("entry");
for (; !elt.isNull(); elt = elt.nextSiblingElement("entry")) {
// ...
}
//! [11]
//! [12]
//! [12]
//! [13]
Hello Qt ]]>
//! [13]
//! [14]
Hello Qt
//! [14]
//! [15]
//! [15]