The QDomDocumentType class is the representation of the DTD in the document tree. More...
Header: | #include <QDomDocumentType> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Xml) target_link_libraries(mytarget PRIVATE Qt6::Xml) |
qmake: | QT += xml |
Inherits: | QDomNode |
Note: All functions in this class are reentrant.
QDomDocumentType(const QDomDocumentType &n) | |
QDomDocumentType() | |
QDomDocumentType & | operator=(const QDomDocumentType &n) |
QDomNamedNodeMap | entities() const |
QString | internalSubset() const |
QString | name() const |
QDomNode::NodeType | nodeType() const |
QDomNamedNodeMap | notations() const |
QString | publicId() const |
QString | systemId() const |
The QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId(), systemId() and internalSubset() functions.
See also QDomDocument.
Constructs a copy of n.
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
Creates an empty QDomDocumentType object.
Assigns n to this document type.
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
Returns a map of all entities described in the DTD.
Returns the internal subset of the document type or an empty string if there is no internal subset.
See also publicId() and systemId().
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
See also nodeName().
Returns DocumentTypeNode
.
See also isDocumentType() and QDomNode::toDocumentType().
Returns a map of all notations described in the DTD.
Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.
See also systemId(), internalSubset(), and QDomImplementation::createDocumentType().
Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.
See also publicId(), internalSubset(), and QDomImplementation::createDocumentType().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: