![]() |
Qt 6.x
The Qt SDK
|
#include <iostream>
#include <cstring>
#include <QFile>
#include <QDomDocument>
#include <QDomImplementation>
Go to the source code of this file.
Functions | |
void | NodeElements () |
[0] | |
void | DomText () |
void | FirstElement () |
void | FileContent () |
void | DocAppend () |
void | XML_snippet_main () |
[0] | |
void DocAppend | ( | ) |
[17]
[17]
Definition at line 126 of file src_xml_dom_qdom.cpp.
References QDomNode::appendChild(), QDomDocument::createElement(), QDomDocument::createTextNode(), tag, QDomDocument::toString(), and xml.
void DomText | ( | ) |
[10]
[10]
Definition at line 77 of file src_xml_dom_qdom.cpp.
References QString::data(), QDomDocument::documentElement(), QDomNode::firstChild(), text, and QDomNode::toText().
void FileContent | ( | ) |
[16]
[16]
Definition at line 93 of file src_xml_dom_qdom.cpp.
References QDomNode::appendChild(), QFileDevice::close(), QDomDocument::createElement(), QDomDocument::documentElement(), e, file, QDomNode::firstChild(), QFile::open(), qPrintable, QIODeviceBase::ReadOnly, QDomElement::setAttribute(), and QDomDocument::setContent().
void FirstElement | ( | ) |
void NodeElements | ( | ) |
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[8]
[8]
Definition at line 37 of file src_xml_dom_qdom.cpp.
References a2, d, e, and qPrintable.
void XML_snippet_main | ( | ) |
[0]
Definition at line 18 of file src_xml_dom_qdom.cpp.
References QDomImplementation::AcceptInvalidChars, QDomDocument::createElement(), QDomImplementation::DropInvalidChars, QDomImplementation::ReturnNullNode, and QDomImplementation::setInvalidDataPolicy().