QDomDocumentType¶
The
QDomDocumentType
class is the representation of the DTD in the document tree. More…
Synopsis¶
Functions¶
Detailed Description¶
The
QDomDocumentType
class allows read-only access to some of the data structures in the DTD: it can return a map of allentities()
andnotations()
. In addition the functionname()
returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides thepublicId()
,systemId()
andinternalSubset()
functions.See also
- class PySide2.QtXml.QDomDocumentType¶
PySide2.QtXml.QDomDocumentType(x)
- param x:
Creates an empty
QDomDocumentType
object.
- PySide2.QtXml.QDomDocumentType.entities()¶
- Return type:
Returns a map of all entities described in the DTD.
- PySide2.QtXml.QDomDocumentType.internalSubset()¶
- Return type:
str
Returns the internal subset of the document type or an empty string if there is no internal subset.
See also
- PySide2.QtXml.QDomDocumentType.name()¶
- Return type:
str
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
See also
- PySide2.QtXml.QDomDocumentType.notations()¶
- Return type:
Returns a map of all notations described in the DTD.
- PySide2.QtXml.QDomDocumentType.publicId()¶
- Return type:
str
Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.
- PySide2.QtXml.QDomDocumentType.systemId()¶
- Return type:
str
Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.